From 6ab253366cca1b5d2d8e9dec6ea243c0853612f7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 10 Jan 2025 11:58:26 -0500 Subject: force_move: Use strings for axes to clear in clear_homing_state() Pass a string such as "xyz" to kin.clear_homing_state(). This makes the parameter a little less cryptic. Signed-off-by: Kevin O'Connor --- klippy/kinematics/delta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'klippy/kinematics/delta.py') diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py index beb1826f..aa244a8f 100644 --- a/klippy/kinematics/delta.py +++ b/klippy/kinematics/delta.py @@ -103,9 +103,9 @@ class DeltaKinematics: self.limit_xy2 = -1. if homing_axes == "xyz": self.need_home = False - def clear_homing_state(self, axes): + def clear_homing_state(self, clear_axes): # Clearing homing state for each axis individually is not implemented - if 0 in axes or 1 in axes or 2 in axes: + if clear_axes: self.limit_xy2 = -1 self.need_home = True def home(self, homing_state): -- cgit v1.2.3-70-g09d2