From bf803209aa5f199058f549636a8124aabcd1da63 Mon Sep 17 00:00:00 2001 From: Henry Bruce Date: Wed, 14 Oct 2015 14:03:34 -0700 Subject: [PATCH] ftdi_ft4222.c: Fixed bug in gpio configuration Signed-off-by: Henry Bruce Signed-off-by: Brendan Le Foll --- src/usb/ftdi_ft4222.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/usb/ftdi_ft4222.c b/src/usb/ftdi_ft4222.c index e3f3ce2..cf638a2 100644 --- 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;