From d740684bd7d3532f6878dbcc265ae6cda08e4105 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 27 Apr 2020 11:25:13 -0400 Subject: [PATCH] Update main.c --- afsk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index e25d9d42..33839419 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -511,7 +511,7 @@ if (cw_id == ON) // Don't send CW if using AX5043 or in mode cycling or set by 3 printf("CW String: %s\n", cw_str); *FILE f = popen(cw_str,"r"); printf("File %d \n", f); - 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"); sleep(7); //printf("Before Write\n");