aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index 4329a712..7b25c7e5 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -382,3 +382,6 @@ class ToolHead:
self.reset_print_time()
except:
logging.exception("Exception in force_shutdown")
+
+def add_printer_objects(printer, config):
+ printer.add_object('toolhead', ToolHead(printer, config))