Browse Source

Fix out-of-order M0 after SD printing

Fixes #14774

Co-Authored-By: tol2cj <tol2cj@users.noreply.github.com>
pull/1/head
Scott Lahteine 4 years ago
parent
commit
fa4a6cdb5c
  1. 4
      Marlin/src/gcode/queue.cpp

4
Marlin/src/gcode/queue.cpp

@ -536,7 +536,7 @@ void GCodeQueue::get_serial_commands() {
#if ENABLED(PRINTER_EVENT_LEDS)
printerEventLEDs.onPrintCompleted();
#if HAS_RESUME_CONTINUE
inject_P(PSTR("M0 Q S"
enqueue_now_P(PSTR("M0 Q S"
#if HAS_LCD_MENU
"1800"
#else
@ -544,7 +544,7 @@ void GCodeQueue::get_serial_commands() {
#endif
));
#endif
#endif // PRINTER_EVENT_LEDS
#endif
}
}
else if (n < 0)

Loading…
Cancel
Save