aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/controller_fan.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-03-10 13:57:01 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-03-10 13:57:01 -0400
commitd3f6dad85383c2435f15700dfaf685938fa3f367 (patch)
tree8bfbe4682570ddf4b9b03aa980e5baa850dabc2f /klippy/extras/controller_fan.py
parent19c7955f2a181874884921b6f6e424571ea61202 (diff)
downloadkutter-d3f6dad85383c2435f15700dfaf685938fa3f367.tar.gz
kutter-d3f6dad85383c2435f15700dfaf685938fa3f367.tar.xz
kutter-d3f6dad85383c2435f15700dfaf685938fa3f367.zip
controller_fan: Allow multiple controller_fan sections to be defined
It may be necessary to define multiple fans, so allow each config section to be named. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
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 05897e3b..414be8de 100644
--- a/klippy/extras/controller_fan.py
+++ b/klippy/extras/controller_fan.py
@@ -49,5 +49,5 @@ class ControllerFan:
self.fan.set_speed(print_time, power)
return eventtime + 1.
-def load_config(config):
+def load_config_prefix(config):
return ControllerFan(config)