mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 14:44:20 -06:00
klippy: Report known software versions on a protocol error during connection
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
8443c0b0f8
commit
89082b494f
2 changed files with 16 additions and 3 deletions
|
@ -811,7 +811,7 @@ class MCU:
|
|||
self._name, eventtime)
|
||||
self._printer.invoke_shutdown("Lost communication with MCU '%s'" % (
|
||||
self._name,))
|
||||
def get_status(self, eventtime):
|
||||
def get_status(self, eventtime=None):
|
||||
return dict(self._get_status_info)
|
||||
def stats(self, eventtime):
|
||||
load = "mcu_awake=%.03f mcu_task_avg=%.06f mcu_task_stddev=%.06f" % (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue