mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 07:04:01 -06:00
toolhead: Rename _full_flush() to flush_step_generation() and use globally
Update code that modifies the low-level kinematics handlers to first call toolhead.flush_step_generation(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7c80e8d533
commit
2843c85019
7 changed files with 21 additions and 10 deletions
|
@ -144,6 +144,8 @@ class BLTouchEndstopWrapper:
|
|||
self.send_cmd(None)
|
||||
self.sync_print_time()
|
||||
self.mcu_endstop.home_prepare()
|
||||
toolhead = self.printer.lookup_object('toolhead')
|
||||
toolhead.flush_step_generation()
|
||||
self.start_mcu_pos = [(s, s.get_mcu_position())
|
||||
for s in self.mcu_endstop.get_steppers()]
|
||||
def home_finalize(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue