Turn off sim mode if payload present and not manually configured

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

@ -706,6 +706,11 @@ int main(int argc, char * argv[]) {
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);
// printf("String: %s\n", buffer2);
fflush(stdout);

Loading…
Cancel
Save

Powered by TurnKey Linux.