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:
76971c6
)
gpio: no printing to stderr on direction change.
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Fri, 20 Jun 2014 15:19:59 +0000
(16:19 +0100)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Fri, 20 Jun 2014 15:19:59 +0000
(16:19 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/gpio/gpio.c
patch
|
blob
|
history
diff --git
a/src/gpio/gpio.c
b/src/gpio/gpio.c
index
0b12d8c
..
d38753c
100644
(file)
--- a/
src/gpio/gpio.c
+++ b/
src/gpio/gpio.c
@@
-389,7
+389,6
@@
maa_gpio_dir(maa_gpio_context dev, gpio_dir_t dir)
}
if (write(direction, bu, length*sizeof(char)) == -1) {
- fprintf(stderr, "Failed to write to direction\n");
close(direction);
return MAA_ERROR_INVALID_RESOURCE;
}