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:
f9dd4c0
)
mraa-gpio.c: add %d to printf statement
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Wed, 8 Jul 2015 09:14:56 +0000
(10:14 +0100)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Wed, 8 Jul 2015 09:14:56 +0000
(10:14 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
examples/mraa-gpio.c
patch
|
blob
|
history
diff --git
a/examples/mraa-gpio.c
b/examples/mraa-gpio.c
index
347d01b
..
55c240e
100644
(file)
--- a/
examples/mraa-gpio.c
+++ b/
examples/mraa-gpio.c
@@
-116,7
+116,7
@@
gpio_get(int pin, int* level, mraa_boolean_t raw)
if (raw != 0) {
if (mraa_gpio_use_mmaped(gpio, 1) != MRAA_SUCCESS) {
fprintf(stdout,
- "mmapped access to gpio not supported, falling back to normal mode\n", pin);
+ "mmapped access to gpio
%d
not supported, falling back to normal mode\n", pin);
}
}
*level = mraa_gpio_read(gpio);