aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/heater.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/heater.py')
-rw-r--r--klippy/heater.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/klippy/heater.py b/klippy/heater.py
index c4e0a715..21624cb0 100644
--- a/klippy/heater.py
+++ b/klippy/heater.py
@@ -308,3 +308,8 @@ class ControlBumpTest:
return True
self.heater.control = self.old_control
return False
+
+def add_printer_objects(printer, config):
+ if config.has_section('heater_bed'):
+ printer.add_object('heater_bed', PrinterHeater(
+ printer, config.getsection('heater_bed')))