aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/stepper_enable.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-07-20 10:34:14 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-07-20 10:34:14 -0400
commit103dcf27ffd7cf1c4f70868c2ba1828ee4fbe37a (patch)
tree5e36dada28f3a00b5d8667e0084af873cc21f778 /klippy/extras/stepper_enable.py
parentde57ce3a99805502f61ff000668cd5e7b5b93aa1 (diff)
downloadkutter-103dcf27ffd7cf1c4f70868c2ba1828ee4fbe37a.tar.gz
kutter-103dcf27ffd7cf1c4f70868c2ba1828ee4fbe37a.tar.xz
kutter-103dcf27ffd7cf1c4f70868c2ba1828ee4fbe37a.zip
controller_fan: Minor updates
Document change in behavior of the controller_fan module. Lookup heater objects in connect() event handler. Return list of stepper names from stepper_enable.get_steppers(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/stepper_enable.py')
-rw-r--r--klippy/extras/stepper_enable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/stepper_enable.py b/klippy/extras/stepper_enable.py
index 90458458..cd1d34c6 100644
--- a/klippy/extras/stepper_enable.py
+++ b/klippy/extras/stepper_enable.py
@@ -127,7 +127,7 @@ class PrinterStepperEnable:
raise self.printer.config_error("Unknown stepper '%s'" % (name,))
return self.enable_lines[name]
def get_steppers(self):
- return [e.stepper for e in self.enable_lines.values()]
+ return list(self.enable_lines.keys())
def load_config(config):
return PrinterStepperEnable(config)