Update main.c fixed delay detection

beta-aprs
Alan Johnston 1 year ago committed by GitHub
parent 8aeb6f5569
commit ccfd2617dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -47,12 +47,13 @@ int main(int argc, char * argv[]) {
if (command_file == NULL) {
pi_zero_2_offset = 500;
printf("Command and control is OFF\n");
}
} else {
command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r");
if (command_file == NULL) {
pi_zero_2_offset = 500;
printf("Command and control Carrier (squelch) is ON\n");
}
}
sleep(10);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.