removed extra off

pull/93/head
alanbjohnston 5 years ago committed by GitHub
parent c4aeb409a4
commit 708892145e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1015,6 +1015,12 @@ void get_tlm(void) {
strcat(str, call);
strcat(str, footer_str);
fprintf(stderr, "String to execute: %s\n", str);
digitalWrite(txLed, txLedOn);
#ifdef DEBUG_LOGGING
printf("Tx LED On 6\n");
#endif
if (transmit) {
FILE * file2 = popen(str, "r");
pclose(file2);
@ -1028,18 +1034,14 @@ void get_tlm(void) {
printf("Tx LED Off 6\n");
#endif
sleep(3);
digitalWrite(txLed, txLedOn);
#ifdef DEBUG_LOGGING
printf("Tx LED On 6\n");
#endif
}
}
digitalWrite(txLed, txLedOff);
#ifdef DEBUG_LOGGING
printf("Tx LED Off\n");
#endif
// digitalWrite(txLed, txLedOff);
// #ifdef DEBUG_LOGGING
// printf("Tx LED Off\n");
// #endif
return;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.