probe: Allow retries from ProbePointsHelper
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
771e7b2987
commit
bdf5898891
|
@ -285,8 +285,10 @@ class ProbePointsHelper:
|
||||||
if len(self.results) >= len(self.probe_points):
|
if len(self.results) >= len(self.probe_points):
|
||||||
self.gcode.reset_last_position()
|
self.gcode.reset_last_position()
|
||||||
toolhead.get_last_move_time()
|
toolhead.get_last_move_time()
|
||||||
self.finalize_callback(self.probe_offsets, self.results)
|
res = self.finalize_callback(self.probe_offsets, self.results)
|
||||||
return True
|
if res != "retry":
|
||||||
|
return True
|
||||||
|
self.results = []
|
||||||
# Move to next XY probe point
|
# Move to next XY probe point
|
||||||
curpos[:2] = self.probe_points[len(self.results)]
|
curpos[:2] = self.probe_points[len(self.results)]
|
||||||
toolhead.move(curpos, self.speed)
|
toolhead.move(curpos, self.speed)
|
||||||
|
|
Loading…
Reference in New Issue