mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 01:29:46 +01:00
45942f6821
If the timer at the head of a ztimer clock's timer list is re-scheduled (ztimer_set() called on an already set timer) and the timer is no longer at the head after being re-scheduled, clock-ops->set() is never called from inside ztimer_set(), and the underlying timer is left with an ISR scheduled to expire at the timer's old time. The intended behavior is that the clock's lower level timer should always be set to expire at the time of the clocks head timer. This patch changes ztimer_set() to call _ztimer_update(), which sets the lower level timer according to the current list of timers, rather than setting the timer directly inside of ztimer_set(). |
||
---|---|---|
.. | ||
convert_frac.c | ||
convert_muldiv64.c | ||
convert_shift.c | ||
convert.c | ||
core.c | ||
init.c | ||
Makefile | ||
Makefile.dep | ||
Makefile.include | ||
mock.c | ||
overhead.c | ||
periodic.c | ||
periph_ptp.c | ||
periph_rtc.c | ||
periph_rtt.c | ||
periph_timer.c | ||
util.c | ||
xtimer2ztimer.cocci |