aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/armcm_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/armcm_timer.c')
-rw-r--r--src/generic/armcm_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/armcm_timer.c b/src/generic/armcm_timer.c
index ef38680a..e7708180 100644
--- a/src/generic/armcm_timer.c
+++ b/src/generic/armcm_timer.c
@@ -137,7 +137,7 @@ timer_dispatch_many(void)
// Check if there are too many repeat timers
if (diff < (int32_t)(-timer_from_us(1000)))
try_shutdown("Rescheduled timer in the past");
- if (sched_tasks_busy()) {
+ if (sched_check_set_tasks_busy()) {
timer_repeat_until = now + TIMER_REPEAT_TICKS;
return TIMER_DEFER_REPEAT_TICKS;
}