Fix that one of Douglas' optimizations broke the timers

The unit tests failed and I didn't notice it :-(
This commit is contained in:
Dirk Ziegelmeier 2018-01-08 09:19:57 +01:00
parent b4768f1711
commit b6c0c52d66

View File

@ -340,7 +340,7 @@ sys_check_timeouts(void)
return;
}
if (TIME_LESS_OR_EQUAL_THAN(now, tmptimeout->time)) {
if (TIME_LESS_OR_EQUAL_THAN(tmptimeout->time, now) == 0) {
return;
}