projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a55a13
)
iio-example: printf take extra argument
author
Lay, Kuan Loon
<kuan.loon.lay@intel.com>
Tue, 20 Oct 2015 10:41:56 +0000
(18:41 +0800)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 15 Dec 2015 10:42:06 +0000
(10:42 +0000)
Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
examples/iio_driver.c
patch
|
blob
|
history
diff --git
a/examples/iio_driver.c
b/examples/iio_driver.c
index
810a001
..
5360171
100755
(executable)
--- a/
examples/iio_driver.c
+++ b/
examples/iio_driver.c
@@
-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;