aboutsummaryrefslogtreecommitdiffstats
path: root/src/endstop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/endstop.c')
-rw-r--r--src/endstop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/endstop.c b/src/endstop.c
index 913bb466..a504de92 100644
--- a/src/endstop.c
+++ b/src/endstop.c
@@ -64,7 +64,7 @@ command_end_stop_home(uint32_t *args)
return;
}
e->flags = ESF_HOMING | (args[3] ? ESF_PIN_HIGH : 0);
- sched_timer(&e->time);
+ sched_add_timer(&e->time);
}
DECL_COMMAND(command_end_stop_home,
"end_stop_home oid=%c clock=%u rest_ticks=%u pin_value=%c");