Fix end of short (auto0.g) prints

This commit is contained in:
Scott Lahteine 2020-03-13 13:45:32 -05:00
parent 81b0548518
commit 7ec45f4382
2 changed files with 4 additions and 4 deletions

View file

@ -438,7 +438,9 @@ void startOrResumeJob() {
case 4: // Display "Click to Continue..."
#if HAS_RESUME_CONTINUE // 30 min timeout with LCD, 1 min without
did_state = queue.enqueue_one_P(PSTR("M0Q1S" TERN(HAS_LCD_MENU, "1800", "60")));
did_state = queue.enqueue_one_P(
print_job_timer.duration() < 60 ? PSTR("M0Q1P1") : PSTR("M0Q1S" TERN(HAS_LCD_MENU, "1800", "60"))
);
#endif
break;

View file

@ -56,11 +56,9 @@ void GcodeSuite::M0_M1() {
planner.synchronize();
const bool seenQ = parser.seen('Q');
#if HAS_LEDS_OFF_FLAG
const bool seenQ = parser.seen('Q');
if (seenQ) printerEventLEDs.onPrintCompleted(); // Change LED color for Print Completed
#elif HAS_LCD_MENU
constexpr bool seenQ = false;
#endif
#if HAS_LCD_MENU