From 0119e42d13e6088ceb020c7f885d2a64afecbf98 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 10 Jan 2019 12:17:57 -0500 Subject: [PATCH] homing: Always start endstop checking before the nominal move start Make sure the endstop checking is started prior to any movement. This helps ensure the verify_movement check is accurate. Signed-off-by: Kevin O'Connor --- klippy/homing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/klippy/homing.py b/klippy/homing.py index 30e62f2d..9e2995fe 100644 --- a/klippy/homing.py +++ b/klippy/homing.py @@ -6,6 +6,7 @@ import logging, math HOMING_STEP_DELAY = 0.00000025 +HOMING_START_DELAY = 0.001 ENDSTOP_SAMPLE_TIME = .000015 ENDSTOP_SAMPLE_COUNT = 4 @@ -55,6 +56,7 @@ class Homing: mcu_endstop.home_start( print_time, ENDSTOP_SAMPLE_TIME, ENDSTOP_SAMPLE_COUNT, min_step_dist / speed) + self.toolhead.dwell(HOMING_START_DELAY, check_stall=False) # Issue move error = None try: