Private
Public Access
2
0

intel_edison_fab_c.c: Change default i2c bus on miniboard from 6 to 1

Since on most 3rd party breakout boards the i2c bus exposed is 1 and not 6, it
makes more sense to have that as the default i2c bus

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-01-06 16:48:24 +00:00
parent 0ebab9603e
commit 03d741ff3e

View File

@@ -1119,7 +1119,7 @@ mraa_intel_edison_miniboard(mraa_board_t* b)
// BUS DEFINITIONS
b->i2c_bus_count = 9;
b->def_i2c_bus = 6;
b->def_i2c_bus = 1;
int ici;
for (ici = 0; ici < 9; ici++) {
b->i2c_bus[ici].bus_id = -1;