diff --git a/sys/xtimer/xtimer_core.c b/sys/xtimer/xtimer_core.c index 236a6f0408..59d22560c5 100644 --- a/sys/xtimer/xtimer_core.c +++ b/sys/xtimer/xtimer_core.c @@ -169,7 +169,8 @@ static inline void _schedule_earliest_lltimer(uint32_t now) } /** - * @brief compare two timers. return true if timerA expires earlier than or equal to timerB and false otherwise. + * @brief compare two timers. return true if timerA expires earlier than or + * equal to timerB and false otherwise. */ static bool _timer_comparison(xtimer_t* timerA, xtimer_t* timerB, uint32_t now) { @@ -278,7 +279,7 @@ static inline void _update_short_timers(uint64_t *now) /* make sure we don't fire too early */ if (timer->offset > elapsed) { - while(_xtimer_now() - timer->start_time < timer->offset) {} + while (_xtimer_now() - timer->start_time < timer->offset) {} } /* advance list */ timer_list_head = timer->next;