Browse Source

Emergency Parser dumb terminal compatibility

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
7b9eb233cb
  1. 4
      Marlin/src/feature/emergency_parser.h

4
Marlin/src/feature/emergency_parser.h

@ -164,11 +164,11 @@ public:
#endif #endif
case EP_IGNORE: case EP_IGNORE:
if (c == '\n') state = EP_RESET; if (c == '\n' || c == '\r') state = EP_RESET;
break; break;
default: default:
if (c == '\n') { if (c == '\n' || c == '\r') {
if (enabled) switch (state) { if (enabled) switch (state) {
case EP_M108: wait_for_user = wait_for_heatup = false; break; case EP_M108: wait_for_user = wait_for_heatup = false; break;
case EP_M112: killed_by_M112 = true; break; case EP_M112: killed_by_M112 = true; break;

Loading…
Cancel
Save