Fix syntax error in conditional statement

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.