bed_screws: Be sure to call gcode.reset_last_position() after any manual move

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-06-03 13:42:09 -04:00
parent 05a04d5d3d
commit fe1c57b098
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class BedScrews:
toolhead.move(curpos, speed)
except homing.EndstopError as e:
raise self.gcode.error(str(e))
self.gcode.reset_last_position()
def move_to_screw(self, state, screw):
# Move up, over, and then down
self.move((None, None, self.horizontal_move_z), self.lift_speed)