From 282af0220e2622fbba304f66f001f442b9f3ca8d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 24 Nov 2019 19:02:49 -0500 Subject: toolhead: Report the current extruder from the get_status() method Signed-off-by: Kevin O'Connor --- klippy/toolhead.py | 1 + 1 file changed, 1 insertion(+) (limited to 'klippy/toolhead.py') diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 7f1731f9..55f1bb36 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -484,6 +484,7 @@ class ToolHead: status = "Ready" return { 'status': status, 'print_time': print_time, 'estimated_print_time': estimated_print_time, + 'extruder': self.extruder.get_name(), 'position': homing.Coord(*self.commanded_pos), 'printing_time': print_time - last_print_start_time } def _handle_shutdown(self): -- cgit v1.2.3-70-g09d2