Browse Source

Fix Emergency Parser stuck state

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
81b0548518
  1. 2
      Marlin/src/feature/emergency_parser.h

2
Marlin/src/feature/emergency_parser.h

@ -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…
Cancel
Save