cartesian: Minor change to clarify end stop homing direction code
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9ff5600421
commit
0824d32319
|
@ -42,8 +42,8 @@ class CartKinematics:
|
|||
s = self.steppers[axis]
|
||||
# Determine moves
|
||||
if s.homing_positive_dir:
|
||||
pos = s.position_endstop + 1.5*(
|
||||
s.position_min - s.position_endstop)
|
||||
pos = s.position_endstop - 1.5*(
|
||||
s.position_endstop - s.position_min)
|
||||
rpos = s.position_endstop - s.homing_retract_dist
|
||||
r2pos = rpos - s.homing_retract_dist
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue