From 9f9e3e61d60c4d5e377bff1ce0128294a864cfc3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 2 Apr 2017 23:18:16 -0400 Subject: 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 --- klippy/msgproto.py | 1 + 1 file changed, 1 insertion(+) (limited to 'klippy/msgproto.py') 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 = {} -- cgit v1.2.3-70-g09d2