Update main.c missing ;

pull/323/head
Alan Johnston 1 year ago committed by GitHub
parent de80c6724f
commit 914ca2b9b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2147,7 +2147,7 @@ if (setting == ON) {
fprintf(stderr,"Turning Battery saver mode ON\n");
if ((mode == AFSK) || (mode == SSTV) || (mode == CW)) {
command = popen("echo 'reboot due to turning ON Safe Mode!' | wall", "r");
pclose(command)
pclose(command);
command = popen("sudo reboot now", "r");
pclose(command);
sleep(60);
@ -2163,7 +2163,7 @@ if (setting == ON) {
fprintf(stderr,"Turning Battery saver mode OFF\n");
if ((mode == AFSK) || (mode == SSTV) || (mode == CW)) {
command = popen("echo 'reboot due to turning OFF Safe Mode!' | wall", "r");
pclose(command)
pclose(command);
command = popen("sudo reboot now", "r");
pclose(command);
sleep(60);

Loading…
Cancel
Save

Powered by TurnKey Linux.