diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-12 13:55:50 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-12 17:32:18 -0500 |
commit | 4ca190d3934d665e1bbc2b729e233530e689f034 (patch) | |
tree | 78ad5859fff45459ce480c0d2eb9e58e85da196b /klippy/extras/controller_fan.py | |
parent | 0204de46a6d8dca519f26b40ca75b42e527cd921 (diff) | |
download | kutter-4ca190d3934d665e1bbc2b729e233530e689f034.tar.gz kutter-4ca190d3934d665e1bbc2b729e233530e689f034.tar.xz kutter-4ca190d3934d665e1bbc2b729e233530e689f034.zip |
stepper: Move MCU_stepper from mcu.py to stepper.py
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/controller_fan.py')
-rw-r--r-- | klippy/extras/controller_fan.py | 2 |
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: |