Update main.c

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.