Modify sim_mode condition for payload check

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

@ -706,7 +706,7 @@ int main(int argc, char * argv[]) {
printf("pi_sensors status: %d \n", payload); printf("pi_sensors status: %d \n", payload);
} }
if (payload && !sim_config) { if (sim_mode && payload && !sim_config) {
sim_mode = FALSE; sim_mode = FALSE;
printf("Turning off sim mod since payload is present and sim mode not manually configured."); printf("Turning off sim mod since payload is present and sim mode not manually configured.");
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.