Fix conditional statement for STEMBoardFailure in sim_mode

master-fsk-cw
Alan Johnston 2 weeks ago committed by GitHub
parent 088af3e2c5
commit 35d8c96ad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1677,7 +1677,9 @@ void get_tlm_fox() {
BAT2Voltage = (int)(voltage[map[BAT2]] * 100);
BAT2Current = (int)(current[map[BAT2]] + 0.5) + 2048;
if (payload == ON) STEMBoardFailure = 0;
// if (payload == ON) STEMBoardFailure = 0;
if (payload == ON) || (sim_mode && (failureMode != FAIL_PAYLOAD))
STEMBoardFailure = 0;
// read payload sensor if available

Loading…
Cancel
Save

Powered by TurnKey Linux.