summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'global.h')
-rw-r--r--global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/global.h b/global.h
index e7a4810..4c60160 100644
--- a/global.h
+++ b/global.h
@@ -130,11 +130,11 @@ public:
dsyslog("infosatepg: time=%i",Time);
if (Time==-1) return;
if (wakeuptime!=-1) return; // already set
+ wakeuptime=Time;
int hour,minute;
hour=(int) (wakeuptime/100);
minute=wakeuptime-(hour*100);
isyslog("infosatepg: wakeup set to %02i:%02i", hour,minute);
- wakeuptime=Time;
}
int WakeupTime()
{