Compare commits

...

1 Commits

Author SHA1 Message Date
Brendan Le Foll
7571faea4b intel_galileo_rev_g.c: Fix typo breaking gpio2 because pincmd not set for mux
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-05-19 14:15:37 +01:00

View File

@@ -378,7 +378,7 @@ mraa_intel_galileo_gen2()
b->pins[2].gpio.mux[0].pincmd = PINCMD_SET_DIRECTION;
b->pins[2].gpio.mux[0].pin = 35;
b->pins[2].gpio.mux[0].value = MRAA_GPIO_IN;
b->pins[2].gpio.mux[0].pincmd = PINCMD_SET_VALUE;
b->pins[2].gpio.mux[1].pincmd = PINCMD_SET_VALUE;
b->pins[2].gpio.mux[1].pin = 77;
b->pins[2].gpio.mux[1].value = 0;
b->pins[2].gpio.complex_cap = (mraa_pin_cap_complex_t){ 1, 1, 0, 1, 1 };