intel_galileo_rev_d: Wrong I2C bus definition.
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Tue, 6 May 2014 08:18:35 +0000 (09:18 +0100)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Tue, 6 May 2014 08:18:35 +0000 (09:18 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/intel_galileo_rev_d.c

index 03ec721..316c33f 100644 (file)
@@ -181,7 +181,7 @@ maa_intel_galileo_rev_d()
     b->pins[15].gpio.mux_total = 1;
     b->pins[15].gpio.mux[0].pin = 36;
     b->pins[15].gpio.mux[0].value = 1;
-    b->pins[15].aio.pinmap = 1; 
+    b->pins[15].aio.pinmap = 1;
     b->pins[15].aio.mux_total = 1;
     b->pins[15].aio.mux[0].pin = 36;
     b->pins[15].aio.mux[0].value = 0;
@@ -249,7 +249,7 @@ maa_intel_galileo_rev_d()
     //BUS DEFINITIONS
     b->i2c_bus_count = 1;
     b->def_i2c_bus = 0;
-    b->i2c_bus[0].bus_id = 1;
+    b->i2c_bus[0].bus_id = 0;
     b->i2c_bus[0].sda = 17;
     b->i2c_bus[0].scl = 18;