aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/controller_fan.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/controller_fan.py')
-rw-r--r--klippy/extras/controller_fan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/controller_fan.py b/klippy/extras/controller_fan.py
index 31c1e6a7..adf78ccc 100644
--- a/klippy/extras/controller_fan.py
+++ b/klippy/extras/controller_fan.py
@@ -38,7 +38,7 @@ class ControllerFan:
power = 0.
active = False
for name in self.stepper_names:
- active |= self.stepper_enable.is_motor_enabled(name)
+ active |= self.stepper_enable.lookup_enable(name).is_motor_enabled()
for heater in self.heaters:
_, target_temp = heater.get_temp(eventtime)
if target_temp: