added wait for cwready to be deleted

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent 7b2b90ba94
commit 3b680aaa92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1105,6 +1105,12 @@ void get_tlm(void) {
// #ifdef DEBUG_LOGGING
// printf("Tx LED On 4\n");
// #endif
while ((cw_file = fopen("/home/pi/CubeSatSim/cwready", "r")) != NULL) { // wait for rpitx to be done
fclose(cw_file);
printf("Sleeping while waiting for rpitx");
sleep(5);
}
}
else if (ax5043) {
digitalWrite(txLed, txLedOn);

Loading…
Cancel
Save

Powered by TurnKey Linux.