diff options
-rw-r--r-- | HISTORY.h | 7 | ||||
-rw-r--r-- | timer.c | 4 |
2 files changed, 7 insertions, 4 deletions
@@ -5,8 +5,8 @@ * */ -#define _VERSION "1.1.86" -#define VERSION_DATE "17.02.2018" +#define _VERSION "1.1.87" +#define VERSION_DATE "20.02.2018" #define DB_API 6 @@ -19,6 +19,9 @@ /* * ------------------------------------ +2018-02-20 version 1.1.87 (horchi) + - change: No forerunnings for switch timers + 2018-02-17 version 1.1.86 (horchi) - bugfix: Fix for 1.1.85 @@ -500,11 +500,11 @@ int cUpdate::takeSwitchTimer() tell(1, "Got switch timer (%ld) for channel '%s' at '%s'", timerid, timerDb->getStrValue("CHANNELID"), - l2pTime(timerDb->getIntValue("_STARTTIME") - tmeSecondsPerMinute).c_str()); + l2pTime(timerDb->getIntValue("_STARTTIME")).c_str()); switchTimers[timerid].eventId = timerDb->getIntValue("EVENTID"); switchTimers[timerid].channelId = timerDb->getStrValue("CHANNELID"); - switchTimers[timerid].start = timerDb->getIntValue("_STARTTIME") - tmeSecondsPerMinute; + switchTimers[timerid].start = timerDb->getIntValue("_STARTTIME"); timerDb->setCharValue("ACTION", taAssumed); timerDb->setCharValue("STATE", tsPending); |