iio: fixed IIO device counting
authorAlex Tereschenko <alext.mkrs@gmail.com>
Tue, 6 Oct 2015 21:14:08 +0000 (23:14 +0200)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 15 Dec 2015 10:42:06 +0000 (10:42 +0000)
commit7fa4990d81de3e49b074eb85c5d87824f1f1cb37
treeb335c87380b5a1c112109a13ce6e12c75e009933
parent3b55cc70bf7e77028174ac84085c1a504b4a6587
iio: fixed IIO device counting

We now take into account only "iio:device*" files to filter out
fake devices like triggers.

Closes #299.

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/mraa.c