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:
74bcaf3
)
gpio.c: fix incorrect debug message due to merge
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 25 Nov 2014 13:30:30 +0000
(13:30 +0000)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Wed, 26 Nov 2014 11:43:30 +0000
(11:43 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/gpio/gpio.c
patch
|
blob
|
history
diff --git
a/src/gpio/gpio.c
b/src/gpio/gpio.c
index
4231d28
..
ceb6b0d
100644
(file)
--- a/
src/gpio/gpio.c
+++ b/
src/gpio/gpio.c
@@
-76,7
+76,7
@@
mraa_gpio_init(int pin)
mraa_gpio_context r = mraa_gpio_init_raw(plat->pins[pin].gpio.pinmap);
if (r == NULL) {
- syslog(LOG_CRIT, "gpio: mraa_
setup_gpio(%d) returned error %d", pin, r
);
+ syslog(LOG_CRIT, "gpio: mraa_
gpio_init_raw(%d) returned error", pin
);
return NULL;
}
r->phy_pin = pin;