Fix M112 with Emergency Parser
This commit is contained in:
@ -41,7 +41,7 @@ void GcodeSuite::M108() {
|
||||
* M112: Full Shutdown
|
||||
*/
|
||||
void GcodeSuite::M112() {
|
||||
kill(PSTR("M112 Shutdown"), nullptr, true);
|
||||
kill(M112_KILL_STR, nullptr, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -440,7 +440,7 @@ void GCodeQueue::get_serial_commands() {
|
||||
wait_for_user = false;
|
||||
#endif
|
||||
}
|
||||
if (strcmp(command, "M112") == 0) kill();
|
||||
if (strcmp(command, "M112") == 0) kill(M112_KILL_STR, nullptr, true);
|
||||
if (strcmp(command, "M410") == 0) quickstop_stepper();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user