Commit eb204b22 authored by Aurelio Colosimo's avatar Aurelio Colosimo

spec-timer: fix check for elapsed time

parent ac820485
......@@ -41,7 +41,7 @@ int spec_timer_expired(struct pp_timer *tm)
now = spec_time();
if (tm->start + tm->interval < now) {
if (tm->start + tm->interval <= now) {
tm->start = now;
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment