Fix Emergency Parser stuck state
This commit is contained in:
parent
aa32c47fb5
commit
81b0548518
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user