delta: Make sure to clear limit_xy2 after a homing move

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-10-27 11:54:17 -04:00
parent 936a4acd0d
commit c3f916c60e
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ class DeltaKinematics:
if (end_pos[:2] != self.home_position[:2] if (end_pos[:2] != self.home_position[:2]
or end_z < self.min_z or end_z > self.home_position[2]): or end_z < self.min_z or end_z > self.home_position[2]):
raise homing.EndstopMoveError(end_pos) raise homing.EndstopMoveError(end_pos)
limit_xy2 = -1.
if move.axes_d[2]: if move.axes_d[2]:
move.limit_speed(self.max_z_velocity, move.accel) move.limit_speed(self.max_z_velocity, move.accel)
limit_xy2 = -1. limit_xy2 = -1.