diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-01-10 12:17:57 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-10 12:17:57 -0500 |
commit | 0119e42d13e6088ceb020c7f885d2a64afecbf98 (patch) | |
tree | 93b8ab26a823954d0dfacec2743c98d85902d292 /klippy/homing.py | |
parent | a27838bc052d98f3328371f87868f1d365ba623a (diff) | |
download | kutter-0119e42d13e6088ceb020c7f885d2a64afecbf98.tar.gz kutter-0119e42d13e6088ceb020c7f885d2a64afecbf98.tar.xz kutter-0119e42d13e6088ceb020c7f885d2a64afecbf98.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/homing.py')
-rw-r--r-- | klippy/homing.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |