Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

probe: Fixed premature firing of 'homing:homing_move_begin' #6779

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions klippy/extras/probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,10 @@ def start_probe(self, gcmd):
# Caller wants a "retry" - restart probing
probe_num = 0
self._move_next(probe_num)
# Make sure that the toolhead is positoned before probing
# otherwise this will cause 'homing:homing_move_begin' to trigger
# while moving horizontally.
self.printer.lookup_object('toolhead').wait_moves()
probe_session.run_probe(gcmd)
probe_num += 1
probe_session.end_probe_session()
Expand Down