Private
Public Access
2
0

iio: Improve iio channel parsing to add enabled channels

scale and other attributes have to be read individually as they vary quite alot
depending on the channel. We only care/take data from scan_elements

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-10-05 12:01:00 +01:00
parent 2c97fd5953
commit acfb74f04e
4 changed files with 28 additions and 14 deletions

View File

@@ -38,7 +38,6 @@ typedef struct {
unsigned int bytes;
unsigned int shift;
unsigned int location;
float scale;
} mraa_iio_channel;
/**