iio: Improve iio channel parsing to add enabled channels
authorBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 5 Oct 2015 11:01:00 +0000 (12:01 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 15 Dec 2015 10:42:06 +0000 (10:42 +0000)
commitacfb74f04ee416a7697d6127dd3bf372bb9d4aae
treef03ffc4bcca6a5263cfc49bcb818230063e32a18
parent2c97fd59538dddf8b9c47cfba43839d797611677
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>
api/mraa/iio.h
examples/iio_driver.c
src/iio/iio.c
src/mraa.c