diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-07 16:24:52 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-07 16:28:47 -0500 |
commit | ed610a6600dd982623ad79409f430a522910b202 (patch) | |
tree | 29207210d1100428a8ca1aea803eb15c23514132 /klippy/extras/heater_fan.py | |
parent | 29b5961d9f6b3a24e73ed4d52233f463f8670619 (diff) | |
download | kutter-ed610a6600dd982623ad79409f430a522910b202.tar.gz kutter-ed610a6600dd982623ad79409f430a522910b202.tar.xz kutter-ed610a6600dd982623ad79409f430a522910b202.zip |
extruder: Consistently use "extruder" for the primary extruder
No longer allow the primary extruder to be named "extruder0". This
avoids internal and external confusion between the printer objects and
config section names.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/heater_fan.py')
-rw-r--r-- | klippy/extras/heater_fan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/heater_fan.py b/klippy/extras/heater_fan.py index 4cfa5f53..337dcc09 100644 --- a/klippy/extras/heater_fan.py +++ b/klippy/extras/heater_fan.py @@ -11,7 +11,7 @@ class PrinterHeaterFan: def __init__(self, config): self.printer = config.get_printer() self.printer.register_event_handler("klippy:ready", self.handle_ready) - self.heater_name = config.get("heater", "extruder0") + self.heater_name = config.get("heater", "extruder") self.heater_temp = config.getfloat("heater_temp", 50.0) self.heaters = [] self.fan = fan.PrinterFan(config, default_shutdown_speed=1.) |