Update main.c do full cw

beta-cc-hi
Alan Johnston 2 years ago committed by GitHub
parent 34007d411a
commit 745fe341b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1270,12 +1270,15 @@ void get_tlm(void) {
strcat(str, cw_footer3);
// printf("Str: %s \n", str);
// fflush(stdout);
printf("CW string to execute: %s\n", cwready);
printf("CW string to execute: %s\n", str);
fflush(stdout);
FILE * cw_file = popen(cwready, "r");
FILE * cw_file = popen(str, "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);
// printf("Sleeping while waiting for rpitx \n");

Loading…
Cancel
Save

Powered by TurnKey Linux.