mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 06:33:59 -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
|
@ -123,7 +123,7 @@ class CartKinematics:
|
|||
# Dual carriage support
|
||||
def _activate_carriage(self, carriage):
|
||||
toolhead = self.printer.lookup_object('toolhead')
|
||||
toolhead.get_last_move_time()
|
||||
toolhead.flush_step_generation()
|
||||
dc_rail = self.dual_carriage_rails[carriage]
|
||||
dc_axis = self.dual_carriage_axis
|
||||
self.rails[dc_axis].set_trapq(None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue