Skip to content

Commit

Permalink
Bed screws: fix horizontal move speed
Browse files Browse the repository at this point in the history
This commit fixes horizontal move speed
during bed screws calibration

Signed-off-by: Vasyl Uhlytskyi <[email protected]>
  • Loading branch information
gatools committed Feb 15, 2024
1 parent 0be4cf5 commit 7dc8a3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions klippy/extras/bed_screws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 7dc8a3f

Please sign in to comment.