From d9a32f75fa953ca50f30a3d996e4dbd5b2154b87 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 22 Jun 2018 15:33:12 -0400 Subject: 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 --- klippy/extras/delta_calibrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/delta_calibrate.py') diff --git a/klippy/extras/delta_calibrate.py b/klippy/extras/delta_calibrate.py index 30acd778..18f5671e 100644 --- a/klippy/extras/delta_calibrate.py +++ b/klippy/extras/delta_calibrate.py @@ -30,7 +30,7 @@ class DeltaCalibrate: def cmd_DELTA_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.get_stable_position() def finalize(self, z_offset, positions): -- cgit v1.2.3-70-g09d2