aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index ff51c4c9..f62a86fe 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -372,6 +372,8 @@ class ToolHead:
self.extruder = extruder
self.move_queue.set_extruder(extruder)
self.commanded_pos[3] = extrude_pos
+ def get_extruder(self):
+ return self.extruder
# Misc commands
def stats(self, eventtime):
for m in self.all_mcus: