iio/iio.c: Fix typo
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
committed by
Mihai Tudor Panu
parent
9cb508f5d2
commit
b75731d9d3
@@ -172,7 +172,7 @@ mraa_iio_get_channel_data(mraa_iio_context dev)
|
|||||||
}
|
}
|
||||||
closedir(dir);
|
closedir(dir);
|
||||||
|
|
||||||
// channel location has to be done in channel index order so do it afetr we
|
// channel location has to be done in channel index order so do it after we
|
||||||
// have grabbed all the correct info
|
// have grabbed all the correct info
|
||||||
for (i = 0; i < dev->chan_num; i++) {
|
for (i = 0; i < dev->chan_num; i++) {
|
||||||
chan = &dev->channels[i];
|
chan = &dev->channels[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user