From d7f6348ae6e45e4b566d10974b10ab4bb111222b Mon Sep 17 00:00:00 2001 From: Francois Chagnon Date: Sat, 30 Dec 2023 11:34:21 -0500 Subject: toolhead: Keep stepcompress move history relative to current time (#6439) Expire history relative to current time rather than last move in history queue Signed-off-by: Francois Chagnon --- klippy/extras/manual_stepper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'klippy/extras/manual_stepper.py') diff --git a/klippy/extras/manual_stepper.py b/klippy/extras/manual_stepper.py index 223e13f1..9f61e029 100644 --- a/klippy/extras/manual_stepper.py +++ b/klippy/extras/manual_stepper.py @@ -67,7 +67,8 @@ class ManualStepper: 0., cruise_v, accel) self.next_cmd_time = self.next_cmd_time + accel_t + cruise_t + accel_t self.rail.generate_steps(self.next_cmd_time) - self.trapq_finalize_moves(self.trapq, self.next_cmd_time + 99999.9) + self.trapq_finalize_moves(self.trapq, self.next_cmd_time + 99999.9, + self.next_cmd_time + 99999.9) toolhead = self.printer.lookup_object('toolhead') toolhead.note_kinematic_activity(self.next_cmd_time) if sync: -- cgit v1.2.3-70-g09d2