Cleanup to emergency parser

Followup to #10516
This commit is contained in:
Scott Lahteine
2018-04-25 06:54:17 -05:00
parent 2242b98248
commit 8cc31d1b2e
2 changed files with 42 additions and 42 deletions

View File

@@ -31,18 +31,18 @@ class EmergencyParser {
// Currently looking for: M108, M112, M410
enum State : char {
RESET,
N,
M,
M1,
M10,
M108,
M11,
M112,
M4,
M41,
M410,
IGNORE // to '\n'
EP_RESET,
EP_N,
EP_M,
EP_M1,
EP_M10,
EP_M108,
EP_M11,
EP_M112,
EP_M4,
EP_M41,
EP_M410,
EP_IGNORE // to '\n'
};
public: