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

Loading…
Cancel
Save

Powered by TurnKey Linux.