aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extruder.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extruder.py')
-rw-r--r--klippy/extruder.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/klippy/extruder.py b/klippy/extruder.py
index 0a77902b..a4d6bd5a 100644
--- a/klippy/extruder.py
+++ b/klippy/extruder.py
@@ -210,3 +210,8 @@ class DummyExtruder:
return move.max_cruise_v2
def lookahead(self, moves, flush_count, lazy):
return flush_count
+
+def add_printer_objects(printer, config):
+ if config.has_section('extruder'):
+ printer.add_object('extruder', PrinterExtruder(
+ printer, config.getsection('extruder')))