diff --git a/sys/xtimer/xtimer_core.c b/sys/xtimer/xtimer_core.c index b882dd8f746aa06a03fdef81f218d700bae65f7a..97b336f0c4b547e528ffcf7c86381543a2eee958 100644 --- a/sys/xtimer/xtimer_core.c +++ b/sys/xtimer/xtimer_core.c @@ -499,7 +499,7 @@ overflow: /* check if the end of this period is very soon */ if (_mask(now + XTIMER_ISR_BACKOFF) < now) { /* spin until next period, then advance */ - while (_xtimer_now() > now); + while (_xtimer_now() >= now); _next_period(); reference = 0; goto overflow;