Fix out-of-order M0 after SD printing
Fixes #14774 Co-Authored-By: tol2cj <tol2cj@users.noreply.github.com>
This commit is contained in:
parent
62b9d7dc73
commit
dd6a7ca197
@ -534,7 +534,7 @@ void GCodeQueue::get_serial_commands() {
|
|||||||
#if ENABLED(PRINTER_EVENT_LEDS)
|
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||||
printerEventLEDs.onPrintCompleted();
|
printerEventLEDs.onPrintCompleted();
|
||||||
#if HAS_RESUME_CONTINUE
|
#if HAS_RESUME_CONTINUE
|
||||||
inject_P(PSTR("M0 S"
|
enqueue_now_P(PSTR("M0 Q S"
|
||||||
#if HAS_LCD_MENU
|
#if HAS_LCD_MENU
|
||||||
"1800"
|
"1800"
|
||||||
#else
|
#else
|
||||||
@ -542,7 +542,7 @@ void GCodeQueue::get_serial_commands() {
|
|||||||
#endif
|
#endif
|
||||||
));
|
));
|
||||||
#endif
|
#endif
|
||||||
#endif // PRINTER_EVENT_LEDS
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (n == -1)
|
else if (n == -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user