Private
Public Access
2
0

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:
Lay, Kuan Loon
2015-10-20 18:41:56 +08:00
committed by Brendan Le Foll
parent 7a55a1384a
commit 078b6371d7

View File

@@ -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;