Tweak to emergency_parser.h
This commit is contained in:
parent
0a7ea7063f
commit
0d720a6ff4
|
@ -121,17 +121,10 @@ public:
|
||||||
default:
|
default:
|
||||||
if (c == '\n') {
|
if (c == '\n') {
|
||||||
if (enabled) switch (state) {
|
if (enabled) switch (state) {
|
||||||
case EP_M108:
|
case EP_M108: wait_for_user = wait_for_heatup = false; break;
|
||||||
wait_for_user = wait_for_heatup = false;
|
case EP_M112: killed_by_M112 = true; break;
|
||||||
break;
|
case EP_M410: quickstop_stepper(); break;
|
||||||
case EP_M112:
|
default: break;
|
||||||
killed_by_M112 = true;
|
|
||||||
break;
|
|
||||||
case EP_M410:
|
|
||||||
quickstop_stepper();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
state = EP_RESET;
|
state = EP_RESET;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue