probe: Rename get_position() callback to get_probed_position()

The different uses of get_position() can be confusing, so choose a
different name for the ProbePointsHelper callback.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-06-22 15:33:12 -04:00
parent 3e88ffabf1
commit d9a32f75fa
4 changed files with 4 additions and 4 deletions

View file

@ -48,7 +48,7 @@ class BedTiltCalibrate:
def cmd_BED_TILT_CALIBRATE(self, params):
self.gcode.run_script("G28")
self.probe_helper.start_probe()
def get_position(self):
def get_probed_position(self):
kin = self.printer.lookup_object('toolhead').get_kinematics()
return kin.calc_position()
def finalize(self, z_offset, positions):