|
|
@ -121,17 +121,10 @@ public: |
|
|
|
default: |
|
|
|
if (c == '\n') { |
|
|
|
if (enabled) switch (state) { |
|
|
|
case EP_M108: |
|
|
|
wait_for_user = wait_for_heatup = false; |
|
|
|
break; |
|
|
|
case EP_M112: |
|
|
|
killed_by_M112 = true; |
|
|
|
break; |
|
|
|
case EP_M410: |
|
|
|
quickstop_stepper(); |
|
|
|
break; |
|
|
|
default: |
|
|
|
break; |
|
|
|
case EP_M108: wait_for_user = wait_for_heatup = false; break; |
|
|
|
case EP_M112: killed_by_M112 = true; break; |
|
|
|
case EP_M410: quickstop_stepper(); break; |
|
|
|
default: break; |
|
|
|
} |
|
|
|
state = EP_RESET; |
|
|
|
} |
|
|
|