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:
8ccefe9
)
src/mraa.c: mux mapped
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Thu, 5 Feb 2015 16:20:09 +0000
(16:20 +0000)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Thu, 5 Feb 2015 16:20:09 +0000
(16:20 +0000)
Don't own gpio of muxes, so it isnt unexported.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/mraa.c
patch
|
blob
|
history
diff --git
a/src/mraa.c
b/src/mraa.c
index
e790325
..
f5b912e
100644
(file)
--- a/
src/mraa.c
+++ b/
src/mraa.c
@@
-149,6
+149,7
@@
mraa_setup_mux_mapped(mraa_pin_t meta)
// this function will sometimes fail, however this is not critical as
// long as the write succeeds - Test case galileo gen2 pin2
mraa_gpio_dir(mux_i, MRAA_GPIO_OUT);
+ mraa_gpio_owner(mux_i, 0);
if (mraa_gpio_write(mux_i, meta.mux[mi].value) != MRAA_SUCCESS) {
mraa_gpio_close(mux_i);