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:
818e1a8
)
examples/gpio.c Added whitespace to better align gpio list output
author
Michael Ring
<michael.ring@swisscom.com>
Sat, 14 Feb 2015 14:46:56 +0000
(15:46 +0100)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Sun, 15 Feb 2015 21:13:20 +0000
(21:13 +0000)
Signed-off-by: Michael Ring <mail@michael-ring.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
examples/gpio.c
patch
|
blob
|
history
diff --git
a/examples/gpio.c
b/examples/gpio.c
index
f456b08
..
a8768d4
100644
(file)
--- a/
examples/gpio.c
+++ b/
examples/gpio.c
@@
-66,11
+66,11
@@
list_pins() {
if (mraa_pin_mode_test(i, MRAA_PIN_GPIO))
fprintf(stdout, "GPIO ");
if (mraa_pin_mode_test(i, MRAA_PIN_I2C))
- fprintf(stdout, "I2C ");
+ fprintf(stdout, "I2C
");
if (mraa_pin_mode_test(i, MRAA_PIN_SPI))
- fprintf(stdout, "SPI ");
+ fprintf(stdout, "SPI
");
if (mraa_pin_mode_test(i, MRAA_PIN_PWM))
- fprintf(stdout, "PWM ");
+ fprintf(stdout, "PWM
");
if (mraa_pin_mode_test(i, MRAA_PIN_UART))
fprintf(stdout, "UART ");
fprintf(stdout, "\n");