mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-12 01:08:00 -06:00
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:
parent
3e88ffabf1
commit
d9a32f75fa
4 changed files with 4 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue