aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/gcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/gcode.py')
-rw-r--r--klippy/gcode.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/klippy/gcode.py b/klippy/gcode.py
index 2b9c8cc2..32c0fa4f 100644
--- a/klippy/gcode.py
+++ b/klippy/gcode.py
@@ -719,3 +719,6 @@ class GCodeParser:
if cmd in self.gcode_help:
cmdhelp.append("%-10s: %s" % (cmd, self.gcode_help[cmd]))
gcmd.respond_info("\n".join(cmdhelp), log=False)
+
+def add_early_printer_objects(printer):
+ printer.add_object('gcode', GCodeParser(printer))