Update main.c fix cwready

beta-cc-safe
Alan Johnston 2 years ago committed by GitHub
parent 6c1a55b851
commit 018d50ff10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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);

Loading…
Cancel
Save

Powered by TurnKey Linux.