From 018d50ff10363e0c36749671a5d99a0e1e699723 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 4 Mar 2024 10:31:41 -0500 Subject: [PATCH] Update main.c fix cwready --- main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/main.c b/main.c index 53cd1aab..b4f85351 100644 --- a/main.c +++ b/main.c @@ -1275,17 +1275,17 @@ void get_tlm(void) { // printf("Str str: %s \n", str); // fflush(stdout); - strcat(str, cw_footer3); +// strcat(str, cw_footer3); // printf("Str: %s \n", str); // fflush(stdout); - printf("CW string to execute:: %s\n", str); - fflush(stdout); +// printf("CW string to execute:: %s\n", str); +// fflush(stdout); - FILE * cw_file = popen(str, "r"); - pclose(cw_file); +// FILE * cw_file = popen(str, "r"); +// pclose(cw_file); -// FILE * cw_file = popen(cwready, "r"); -// pclose(cw_file); + FILE * cw_file = popen(cwready, "r"); + pclose(cw_file); while ((cw_file = fopen("/home/pi/CubeSatSim/cwready", "r")) != NULL) { // wait for rpitx to be done fclose(cw_file);