toolhead: Export the print_stalls value via get_status()

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-04-09 20:44:27 -04:00
parent 49a2b0354f
commit 38b2805136
2 changed files with 4 additions and 0 deletions

View file

@ -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),