probe: Verify the toolhead moves at least some distance on a probe

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-09-26 15:57:22 -04:00 committed by KevinOConnor
parent 31ec098577
commit a9a0bb87fa
2 changed files with 19 additions and 18 deletions

View file

@ -70,8 +70,7 @@ class PrinterProbe:
pos = toolhead.get_position()
pos[2] = self.z_position
try:
homing_state.homing_move(
pos, [(self.mcu_probe, "probe")], self.speed, probe_pos=True)
homing_state.probing_move(pos, self.mcu_probe, self.speed)
except homing.EndstopError as e:
reason = str(e)
if "Timeout during endstop homing" in reason: