mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 22:54:10 -06:00
mcu: Support reset command
Extend the FIRMWARE_RESTART command so that it can use the firmware "reset" command instead of the "arduino" mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
1592395036
commit
9f9e3e61d6
4 changed files with 36 additions and 5 deletions
|
@ -184,6 +184,7 @@ class UnknownFormat:
|
|||
return {'#msgid': msgid, '#msg': msg}, len(s)-MESSAGE_TRAILER_SIZE
|
||||
|
||||
class MessageParser:
|
||||
error = error
|
||||
def __init__(self):
|
||||
self.unknown = UnknownFormat()
|
||||
self.messages_by_id = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue