aboutsummaryrefslogtreecommitdiffstats
path: root/src/stepper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stepper.c')
-rw-r--r--src/stepper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stepper.c b/src/stepper.c
index b196dc61..0d7f490b 100644
--- a/src/stepper.c
+++ b/src/stepper.c
@@ -202,7 +202,7 @@ command_queue_step(uint32_t *args)
} else {
s->first = m;
stepper_load_next(s, s->next_step_time + m->interval);
- sched_timer(&s->time);
+ sched_add_timer(&s->time);
}
irq_enable();
}