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:
799f140
)
ftdi_ft4222.c: Fixed bug in gpio configuration
author
Henry Bruce
<henry.bruce@intel.com>
Wed, 14 Oct 2015 21:03:34 +0000
(14:03 -0700)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Mon, 26 Oct 2015 15:46:54 +0000
(15:46 +0000)
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/usb/ftdi_ft4222.c
patch
|
blob
|
history
diff --git
a/src/usb/ftdi_ft4222.c
b/src/usb/ftdi_ft4222.c
index
e3f3ce2
..
cf638a2
100644
(file)
--- a/
src/usb/ftdi_ft4222.c
+++ b/
src/usb/ftdi_ft4222.c
@@
-526,6
+526,7
@@
mraa_ftdi_ft4222()
sprintf(name, "Pin%d", pinIndex);
strncpy(sub_plat->pins[pinIndex].name, name, 8);
sub_plat->pins[pinIndex].capabilites = pinCapsGpio;
+ sub_plat->pins[pinIndex].gpio.mux_total = 0;
}
int bus = 0;