mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 07:46:11 +01:00
motion_queuing: Introduce flush_all_steps() helper
Move the "full flush" code from advance_flush_time() to a new flush_all_steps() method. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -303,7 +303,7 @@ class ToolHead:
|
||||
self.check_stall_time = 0.
|
||||
def flush_step_generation(self):
|
||||
self._flush_lookahead()
|
||||
self.motion_queuing.advance_flush_time()
|
||||
self.motion_queuing.flush_all_steps()
|
||||
def get_last_move_time(self):
|
||||
if self.special_queuing_state:
|
||||
self._flush_lookahead()
|
||||
|
||||
Reference in New Issue
Block a user