Update main.c cleanup

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

@ -1278,7 +1278,7 @@ void get_tlm(void) {
strcat(str, cw_footer3); strcat(str, cw_footer3);
// printf("Str: %s \n", str); // printf("Str: %s \n", str);
// fflush(stdout); // fflush(stdout);
printf("CW string to execute: %s\n", str); printf("CW string to execute:: %s\n", str);
fflush(stdout); fflush(stdout);
FILE * cw_file = popen(str, "r"); FILE * cw_file = popen(str, "r");
@ -2428,7 +2428,7 @@ int battery_saver_check() {
return(OFF); return(OFF);
} }
fclose(file); fclose(file);
fprintf(stderr, "Safe Mode!"); fprintf(stderr, "Safe Mode!\n");
fprintf(stderr,"Battery saver mode is ON!\n"); fprintf(stderr,"Battery saver mode is ON!\n");
return(ON); return(ON);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.