Turn off sim mode if payload present and not manually configured

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.