Fix M112 with Emergency Parser
This commit is contained in:
1 parent
4dca6d50c0
commit
79c2f05e7d
4 files changed
+4
-3
No files matched your search
@@ -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