From 544b2c87e32d10c26ad23d47366e8f5977987a4b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 16 Nov 2023 15:47:36 -0500 Subject: [PATCH] Update main.c add print --- main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 39939601..c237dc8f 100644 --- a/main.c +++ b/main.c @@ -2266,7 +2266,8 @@ if (setting == ON) { pclose(command); sleep(60); return; - } + } else + fprintf(stderr, "Nothing to do for battery_saver\n"); } } else if (setting == OFF) { if ((mode == AFSK) || (mode == SSTV) || (mode == CW)) { @@ -2280,7 +2281,8 @@ if (setting == ON) { pclose(command); sleep(60); return; - } + } else + fprintf(stderr, "Nothing to do for battery_saver\n"); } } else { fprintf(stderr,"battery_saver function error");