From 2843c850198010b1948a578a1b1421ee81be36b7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 13 Nov 2019 23:34:21 -0500 Subject: 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 --- klippy/extras/bltouch.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/extras/bltouch.py') diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py index f45b966c..f372b1ab 100644 --- a/klippy/extras/bltouch.py +++ b/klippy/extras/bltouch.py @@ -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): -- cgit v1.2.3-70-g09d2