From 4ca190d3934d665e1bbc2b729e233530e689f034 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 12 Nov 2019 13:55:50 -0500 Subject: stepper: Move MCU_stepper from mcu.py to stepper.py Signed-off-by: Kevin O'Connor --- klippy/extras/controller_fan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/controller_fan.py') 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: -- cgit v1.2.3-70-g09d2