diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-11-28 11:23:26 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-11-28 11:23:26 -0500 |
commit | 9755182adfa09de6886a0b482aa03d236f75f3ce (patch) | |
tree | f2ef020bec3105b3c702b1ce90aaf8af0654e598 /klippy/gcode.py | |
parent | a5637bb9d486969db3f1127c1ac75fb9bbeb9a7c (diff) | |
download | kutter-9755182adfa09de6886a0b482aa03d236f75f3ce.tar.gz kutter-9755182adfa09de6886a0b482aa03d236f75f3ce.tar.xz kutter-9755182adfa09de6886a0b482aa03d236f75f3ce.zip |
homing: Check homing distance to verify endstop trigger after retract
Instead of checking the endstop trigger directly after a retract move,
verify some distance is traveled during the following homing
operation. This reduces the amount of synchronization between mcu and
host during homing.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/gcode.py')
-rw-r--r-- | klippy/gcode.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/gcode.py b/klippy/gcode.py index 88797077..056f7c50 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -254,6 +254,8 @@ class GCodeParser: if not axes: axes = [0, 1, 2] homing_state = homing.Homing(self.toolhead, axes) + if self.inputfile: + homing_state.set_no_verify_retract() self.toolhead.home(homing_state) def axes_update(homing_state): newpos = self.toolhead.get_position() |