aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/corexy.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/corexy.py')
-rw-r--r--klippy/corexy.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/klippy/corexy.py b/klippy/corexy.py
index 1fdfa817..2069d16b 100644
--- a/klippy/corexy.py
+++ b/klippy/corexy.py
@@ -46,18 +46,19 @@ class CoreXYKinematics:
rpos = s.position_endstop + s.homing_retract_dist
r2pos = rpos + s.homing_retract_dist
# Initial homing
+ homing_speed = s.get_homing_speed()
homepos = [None, None, None, None]
homepos[axis] = s.position_endstop
coord = [None, None, None, None]
coord[axis] = pos
- homing_state.home(list(coord), homepos, [s], s.homing_speed)
+ homing_state.home(list(coord), homepos, [s], homing_speed)
# Retract
coord[axis] = rpos
- homing_state.retract(list(coord), s.homing_speed)
+ homing_state.retract(list(coord), homing_speed)
# Home again
coord[axis] = r2pos
homing_state.home(
- list(coord), homepos, [s], s.homing_speed/2.0, second_home=True)
+ list(coord), homepos, [s], homing_speed/2.0, second_home=True)
if axis == 2:
# Support endstop phase detection on Z axis
coord[axis] = s.position_endstop + s.get_homed_offset()