|
@@ -523,12 +523,12 @@ void GCodeQueue::get_serial_commands() {
|
523
|
523
|
|
524
|
524
|
#if DISABLED(EMERGENCY_PARSER)
|
525
|
525
|
// Process critical commands early
|
526
|
|
- if (strcmp(command, "M108") == 0) {
|
|
526
|
+ if (strcmp_P(command, PSTR("M108")) == 0) {
|
527
|
527
|
wait_for_heatup = false;
|
528
|
528
|
TERN_(HAS_LCD_MENU, wait_for_user = false);
|
529
|
529
|
}
|
530
|
|
- if (strcmp(command, "M112") == 0) kill(M112_KILL_STR, nullptr, true);
|
531
|
|
- if (strcmp(command, "M410") == 0) quickstop_stepper();
|
|
530
|
+ if (strcmp_P(command, PSTR("M112")) == 0) kill(M112_KILL_STR, nullptr, true);
|
|
531
|
+ if (strcmp_P(command, PSTR("M410")) == 0) quickstop_stepper();
|
532
|
532
|
#endif
|
533
|
533
|
|
534
|
534
|
#if defined(NO_TIMEOUTS) && NO_TIMEOUTS > 0
|