iio-example: printf take extra argument
Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
7a55a1384a
commit
078b6371d7
@@ -43,7 +43,7 @@ printword(uint16_t input, mraa_iio_channel *chan)
|
||||
} else {
|
||||
res = input;
|
||||
}
|
||||
printf(" value = %05f\n", chan->index, (float)res);
|
||||
printf(" value = %05f\n", (float)res);
|
||||
}
|
||||
|
||||
mraa_iio_context iio_device0;
|
||||
|
||||
Reference in New Issue
Block a user