aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-04-09 20:44:27 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-04-09 20:44:27 -0400
commit38b280513628d62aa99de04c6e5a6ab653820e99 (patch)
tree98792aa2e1cb7e2f096fb50b61bf052263a0fa27 /klippy/toolhead.py
parent49a2b0354f24960e6a85f44bdab43a0403e15ffb (diff)
downloadkutter-38b280513628d62aa99de04c6e5a6ab653820e99.tar.gz
kutter-38b280513628d62aa99de04c6e5a6ab653820e99.tar.xz
kutter-38b280513628d62aa99de04c6e5a6ab653820e99.zip
toolhead: Export the print_stalls value via get_status()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index 7399c189..ed9c8603 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -502,6 +502,7 @@ class ToolHead:
estimated_print_time = self.mcu.estimated_print_time(eventtime)
res = dict(self.kin.get_status(eventtime))
res.update({ 'print_time': print_time,
+ 'stalls': self.print_stall,
'estimated_print_time': estimated_print_time,
'extruder': self.extruder.get_name(),
'position': self.Coord(*self.commanded_pos),