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:
Kevin O'Connor
2025-09-02 13:23:02 -04:00
parent 5426943501
commit 8a833175a5
2 changed files with 6 additions and 7 deletions

View File

@@ -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()