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:
@@ -38,7 +38,6 @@ typedef struct {
|
||||
unsigned int bytes;
|
||||
unsigned int shift;
|
||||
unsigned int location;
|
||||
float scale;
|
||||
} mraa_iio_channel;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user