moved On and Off

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

@ -1019,17 +1019,17 @@ void get_tlm(void) {
if (transmit) {
digitalWrite(txLed, txLedOn);
#ifdef DEBUG_LOGGING
printf("Tx LED On 6\n");
#endif
FILE * file2 = popen(str, "r");
pclose(file2);
digitalWrite(txLed, txLedOff);
digitalWrite(txLed, txLedOn);
#ifdef DEBUG_LOGGING
printf("Tx LED Off 6\n");
printf("Tx LED On 6\n");
#endif
sleep(2);
digitalWrite(txLed, txLedOff);
#ifdef DEBUG_LOGGING
printf("Tx LED Off 6\n");
#endif
} else {
fprintf(stderr, "\nNo CubeSatSim Band Pass Filter detected. No transmissions after the CW ID.\n");
fprintf(stderr, " See http://cubesatsim.org/wiki for info about building a CubeSatSim\n\n");

Loading…
Cancel
Save

Powered by TurnKey Linux.