fflush typo

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent 14a681f384
commit 7c2814079c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1004,12 +1004,12 @@ void get_tlm(void) {
//printf("Before 1st strcpy\n");
strcat(cw_str2, str);
printf("Str: %s \n", cw_str2);
fflush();
fflush(stdout);
//printf("Before 1st strcpy\n");
// strcat(cw_str2, cw_footer2);
strcat(cw_str2, cw_footer3);
printf("Str: %s \n", cw_str2);
fflush();
fflush(stdout);
//printf("Before 1st strcpy\n");
// read payload sensor if available
@ -1092,7 +1092,7 @@ void get_tlm(void) {
// #endif
if (mode == CW) {
printf("CW string to execute: %s\n", cw_str2);
fflush();
fflush(stdout);
// system(cw_str2);
FILE * cw_file = popen(cw_str2, "r");
pclose(cw_file);

Loading…
Cancel
Save

Powered by TurnKey Linux.