From e33393ab868522e60b458831bc4bc44a67f2e633 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Sat, 16 May 2015 14:13:11 +1000 Subject: [PATCH] Remove 100ms fudge factor on timer expiry. If we immediately handle timers that have already expired, there doesn't seem to be a compelling reason to add 100ms to the expiry of unexpired timers. --- source/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/timer.c b/source/timer.c index 2b63ed2..67709ce 100644 --- a/source/timer.c +++ b/source/timer.c @@ -620,5 +620,5 @@ time_t TimerTimeout (void) if (t < timeout_in) timeout_in = t * 1000; - return (timeout_in < 0) ? 0 : timeout_in + 100; + return (timeout_in < 0) ? 0 : timeout_in; }