probe: Always return just x,y,z from _probe()

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-06-21 11:04:55 -04:00
parent 3e741a1f88
commit 98915fb1d0
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class PrinterProbe:
self.gcode.respond_info("probe at %.3f,%.3f is z=%.6f" % (
pos[0], pos[1], pos[2]))
self.gcode.reset_last_position()
return pos
return pos[:3]
def _move(self, coord, speed):
toolhead = self.printer.lookup_object('toolhead')
curpos = toolhead.get_position()