Private
Public Access
2
0

intel_galileo_rev_g: change enable pin for SPI MISO

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-06-30 11:10:28 +01:00
parent eaa395d99c
commit 5c48f2a885

View File

@@ -236,7 +236,7 @@ mraa_intel_galileo_gen2(mraa_adv_func* adv)
b->pins[12].spi.pinmap = 1; b->pins[12].spi.pinmap = 1;
b->pins[12].spi.mux_total = 1; b->pins[12].spi.mux_total = 1;
b->pins[12].spi.mux[0].pin = 42; 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. // THIS NEEDS TESTING UNSURE IF MOSI WILL BE EXPOSED.
strncpy(b->pins[13].name, "IO13", 8); strncpy(b->pins[13].name, "IO13", 8);