|
|
|
@ -318,8 +318,9 @@ int main(int argc, char * argv[]) {
|
|
|
|
map[BUS] = BAT;
|
|
|
|
map[BUS] = BAT;
|
|
|
|
snprintf(busStr, 10, "%d %d", test_i2c_bus(1), test_i2c_bus(0));
|
|
|
|
snprintf(busStr, 10, "%d %d", test_i2c_bus(1), test_i2c_bus(0));
|
|
|
|
} else if (vB5) {
|
|
|
|
} else if (vB5) {
|
|
|
|
map[MINUS_X] = PLUS_Z;
|
|
|
|
map[MINUS_X] = MINUS_Y;
|
|
|
|
map[PLUS_Z] = MINUS_X;
|
|
|
|
map[PLUS_Z] = MINUS_X;
|
|
|
|
|
|
|
|
map[MINUS_Y] = PLUS_Z;
|
|
|
|
|
|
|
|
|
|
|
|
if (access("/dev/i2c-11", W_OK | R_OK) >= 0) { // Test if I2C Bus 11 is present
|
|
|
|
if (access("/dev/i2c-11", W_OK | R_OK) >= 0) { // Test if I2C Bus 11 is present
|
|
|
|
printf("/dev/i2c-11 is present\n\n");
|
|
|
|
printf("/dev/i2c-11 is present\n\n");
|
|
|
|
|