intel_galileo_rev_g: change enable pin for SPI MISO
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Mon, 30 Jun 2014 10:10:28 +0000 (11:10 +0100)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Mon, 30 Jun 2014 10:10:28 +0000 (11:10 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/intel_galileo_rev_g.c

index 925a8df..23ace1c 100644 (file)
@@ -236,7 +236,7 @@ mraa_intel_galileo_gen2(mraa_adv_func* adv)
     b->pins[12].spi.pinmap = 1;
     b->pins[12].spi.mux_total = 1;
     b->pins[12].spi.mux[0].pin = 42;
-    b->pins[12].spi.mux[0].value = 0;
+    b->pins[12].spi.mux[0].value = 1;
     // THIS NEEDS TESTING UNSURE IF MOSI WILL BE EXPOSED.
 
     strncpy(b->pins[13].name, "IO13", 8);