From f8afe49a2f93b25527ed6515d32f4f34490f5bd2 Mon Sep 17 00:00:00 2001 From: Stephen Hurd Date: Thu, 30 Dec 2021 18:56:24 -0500 Subject: [PATCH] toolhead: Fix toolhead stop on SET_VELOCITY_LIMIT (#5053) This fixes issue #5050 Signed-off-by: Stephen Hurd --- klippy/toolhead.py | 1 - 1 file changed, 1 deletion(-) diff --git a/klippy/toolhead.py b/klippy/toolhead.py index db2d47f4..b7285420 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -552,7 +552,6 @@ class ToolHead: self.wait_moves() cmd_SET_VELOCITY_LIMIT_help = "Set printer velocity limits" def cmd_SET_VELOCITY_LIMIT(self, gcmd): - print_time = self.get_last_move_time() max_velocity = gcmd.get_float('VELOCITY', None, above=0.) max_accel = gcmd.get_float('ACCEL', None, above=0.) square_corner_velocity = gcmd.get_float(