From d47c71411522aaa793544a3aad7b9fbe88c040f6 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 27 Apr 2020 11:37:10 -0400 Subject: [PATCH] Update main.c --- afsk/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index 975578e9..aa2f86ee 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -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");