projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d95df3e
)
galileo gen2: add missing mux information for UART on IO1
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Thu, 20 Nov 2014 14:59:34 +0000
(14:59 +0000)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Thu, 20 Nov 2014 15:08:31 +0000
(15:08 +0000)
Fixes #36
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/intel_galileo_rev_g.c
patch
|
blob
|
history
diff --git
a/src/intel_galileo_rev_g.c
b/src/intel_galileo_rev_g.c
index
9d27399
..
da9447f
100644
(file)
--- a/
src/intel_galileo_rev_g.c
+++ b/
src/intel_galileo_rev_g.c
@@
-335,7
+335,9
@@
mraa_intel_galileo_gen2()
b->pins[1].mmap.mem_sz = 0x1000;
b->pins[1].mmap.bit_pos = 4;
b->pins[1].uart.parent_id = 0;
- b->pins[1].uart.mux_total = 0;
+ b->pins[1].uart.mux_total = 1;
+ b->pins[1].uart.mux[0].pin = 45;
+ b->pins[1].uart.mux[0].value = 1;
strncpy(b->pins[2].name, "IO2", 8);
b->pins[2].capabilites = (mraa_pincapabilities_t) {1,1,0,1,0,0,0};