aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/homing.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/homing.py')
-rw-r--r--klippy/homing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/homing.py b/klippy/homing.py
index a1d010d7..63530a91 100644
--- a/klippy/homing.py
+++ b/klippy/homing.py
@@ -125,7 +125,7 @@ class Homing:
try:
self.toolhead.get_kinematics().home(self)
except CommandError:
- self.toolhead.motor_off()
+ self.printer.lookup_object('stepper_enable').motor_off()
raise
class CommandError(Exception):