aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr/timer.c')
-rw-r--r--src/avr/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/timer.c b/src/avr/timer.c
index e40007d8..dcd01869 100644
--- a/src/avr/timer.c
+++ b/src/avr/timer.c
@@ -195,7 +195,7 @@ ISR(TIMER1_COMPA_vect)
irq_disable();
uint16_t now = timer_get();
if ((int16_t)(next - now) < (int16_t)(-timer_from_us(1000)))
- shutdown("Rescheduled timer in the past");
+ try_shutdown("Rescheduled timer in the past");
if (sched_tasks_busy()) {
timer_repeat_set(now + TIMER_REPEAT_TICKS);
next = now + TIMER_DEFER_REPEAT_TICKS;