Fix Emergency Parser stuck state

This commit is contained in:
Scott Lahteine 2020-03-13 13:06:53 -05:00
parent aa32c47fb5
commit 81b0548518

View File

@ -78,7 +78,7 @@ public:
switch (state) { switch (state) {
case EP_RESET: case EP_RESET:
switch (c) { switch (c) {
case ' ': break; case ' ': case '\n': case '\r': break;
case 'N': state = EP_N; break; case 'N': state = EP_N; break;
case 'M': state = EP_M; break; case 'M': state = EP_M; break;
default: state = EP_IGNORE; default: state = EP_IGNORE;