Update main.c

pull/39/head
alanbjohnston 6 years ago committed by GitHub
parent 9bc1a25690
commit d47c714115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -509,10 +509,10 @@ if (cw_id == ON) // Don't send CW if using AX5043 or in mode cycling or set by 3
digitalWrite (txLed, txLedOn);
//printf("Before 1st strcpy\n");
printf("CW String: %s\n", cw_str);
FILE* f;
f = popen(cw_str,"r");
printf("File %d \n", f);
printf("close: %d \n", pclose(f)); // execute command and wait for termination before continuing
// FILE* f;
system(cw_str);
// printf("File %d \n", f);
// printf("close: %d \n", pclose(f)); // execute command and wait for termination before continuing
printf("After command\n");
sleep(7);
//printf("Before Write\n");

Loading…
Cancel
Save

Powered by TurnKey Linux.