intel_nuc5.c: Fixed incorrect I2C numbering, effectively not shifting the pin number correctly
Signed-off-by: Houman Brinjcargorabi <houman.brinjcargorabi@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
a177a3f729
commit
e8d6f38ee0
@@ -126,8 +126,8 @@ mraa_intel_nuc5()
|
||||
}
|
||||
b->i2c_bus_count++;
|
||||
b->i2c_bus[i].bus_id = i2c_num;
|
||||
b->i2c_bus[i].sda = 12 + i;
|
||||
b->i2c_bus[i].scl = 13 + i;
|
||||
b->i2c_bus[i].sda = 12 + (i*2);
|
||||
b->i2c_bus[i].scl = 13 + (i*2);
|
||||
}
|
||||
|
||||
if (b->i2c_bus_count > 0) {
|
||||
|
||||
Reference in New Issue
Block a user