From 0216201cb6b9b486a75e446ca1cb2bbd18f329d7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 22 Jun 2018 12:27:37 -0400 Subject: delta: Rename get_position() to calc_position() Calculating the cartesian position from the stepper positions can be complex and cpu intensive, so rename it to calc_position() to be more descriptive. Signed-off-by: Kevin O'Connor --- klippy/homing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/homing.py') diff --git a/klippy/homing.py b/klippy/homing.py index 77a8e379..0fc09cec 100644 --- a/klippy/homing.py +++ b/klippy/homing.py @@ -67,7 +67,7 @@ class Homing: error = "Failed to home %s: %s" % (name, str(e)) if probe_pos: self.set_homed_position( - list(self.toolhead.get_kinematics().get_position()) + [None]) + list(self.toolhead.get_kinematics().calc_position()) + [None]) else: self.toolhead.set_position(movepos) for mcu_endstop, name in endstops: -- cgit v1.2.3-70-g09d2