🎨 Fix up MKS UI defines

This commit is contained in:
Scott Lahteine
2021-10-17 18:11:16 -05:00
parent 7d16f0cadf
commit d685cbd5c3
26 changed files with 123 additions and 129 deletions

View File

@@ -2026,12 +2026,12 @@ void get_wifi_commands() {
#if DISABLED(EMERGENCY_PARSER)
// Process critical commands early
if (strcmp(command, "M108") == 0) {
if (strcmp_P(command, PSTR("M108")) == 0) {
wait_for_heatup = false;
TERN_(HAS_LCD_MENU, wait_for_user = false);
}
if (strcmp(command, "M112") == 0) kill(FPSTR(M112_KILL_STR), nullptr, true);
if (strcmp(command, "M410") == 0) quickstop_stepper();
if (strcmp_P(command, PSTR("M112")) == 0) kill(FPSTR(M112_KILL_STR), nullptr, true);
if (strcmp_P(command, PSTR("M410")) == 0) quickstop_stepper();
#endif
// Add the command to the queue