Update main.c print i2c 1 and 3 bus

master-latency
Alan Johnston 4 months ago committed by GitHub
parent 4f34a9a513
commit d8ff3cca72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1662,8 +1662,10 @@ void get_tlm_fox() {
i2c_3 = i2c_bus3;
if (failureMode == FAIL_I2C1) {
i2c_1 = FALSE;
printf("I2C Bus 1 Simulated Failure\n");
} else if (failureMode == FAIL_I2C3) {
i2c_3 = FALSE;
printf("I2C Bus 3 Simulated Failure\n");
}
// int status = STEMBoardFailure + SafeMode * 2 + sim_mode * 4 + PayloadFailure1 * 8 +
// (i2c_bus0 == OFF) * 16 + (i2c_bus1 == OFF) * 32 + (i2c_bus3 == OFF) * 64 + (camera == OFF) * 128 + groundCommandCount * 256;

Loading…
Cancel
Save

Powered by TurnKey Linux.