diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-04-02 23:18:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-04-13 13:20:13 -0400 |
commit | 9f9e3e61d60c4d5e377bff1ce0128294a864cfc3 (patch) | |
tree | f5e29d7bd47139ae045ff89ede64be489fb943f1 /klippy/msgproto.py | |
parent | 1592395036677f4c5959d947bac62a419134600b (diff) | |
download | kutter-9f9e3e61d60c4d5e377bff1ce0128294a864cfc3.tar.gz kutter-9f9e3e61d60c4d5e377bff1ce0128294a864cfc3.tar.xz kutter-9f9e3e61d60c4d5e377bff1ce0128294a864cfc3.zip |
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>
Diffstat (limited to 'klippy/msgproto.py')
-rw-r--r-- | klippy/msgproto.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/msgproto.py b/klippy/msgproto.py index c9d14138..b0bce35b 100644 --- a/klippy/msgproto.py +++ b/klippy/msgproto.py @@ -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 = {} |