From 7dc8a3f81cce42474829d3ace9349ffbaf1d70ca Mon Sep 17 00:00:00 2001 From: Vasyl Uhlytskyi Date: Thu, 15 Feb 2024 16:52:07 +0200 Subject: [PATCH] Bed screws: fix horizontal move speed This commit fixes horizontal move speed during bed screws calibration Signed-off-by: Vasyl Uhlytskyi --- klippy/extras/bed_screws.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/klippy/extras/bed_screws.py b/klippy/extras/bed_screws.py index c34461919466..31ff454ece1e 100644 --- a/klippy/extras/bed_screws.py +++ b/klippy/extras/bed_screws.py @@ -52,8 +52,8 @@ def move_to_screw(self, state, screw): # Move up, over, and then down self.move((None, None, self.horizontal_move_z), self.lift_speed) coord, name = self.states[state][screw] - self.move((coord[0], coord[1], self.horizontal_move_z), self.speed) - self.move((coord[0], coord[1], self.probe_z), self.lift_speed) + self.move((coord[0], coord[1], None), self.speed) + self.move((None, None, self.probe_z), self.lift_speed) # Update state self.state = state self.current_screw = screw @@ -84,7 +84,7 @@ def cmd_BED_SCREWS_ADJUST(self, gcmd): raise gcmd.error("Already in bed_screws helper; use ABORT to exit") # reset accepted screws self.accepted_screws = 0 - self.move((None, None, self.horizontal_move_z), self.speed) + self.move((None, None, self.horizontal_move_z), self.lift_speed) self.move_to_screw('adjust', 0) cmd_ACCEPT_help = "Accept bed screw position" def cmd_ACCEPT(self, gcmd):