aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/z_tilt.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/z_tilt.py')
-rw-r--r--klippy/extras/z_tilt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py
index e6680a75..9784372e 100644
--- a/klippy/extras/z_tilt.py
+++ b/klippy/extras/z_tilt.py
@@ -16,7 +16,7 @@ class ZAdjustHelper:
self.handle_connect)
def handle_connect(self):
kin = self.printer.lookup_object('toolhead').get_kinematics()
- z_steppers = kin.get_steppers('Z')
+ z_steppers = [s for s in kin.get_steppers() if s.is_active_axis('z')]
if len(z_steppers) != self.z_count:
raise self.printer.config_error(
"%s z_positions needs exactly %d items" % (