Fix end of short (auto0.g) prints

2.0.x
Scott Lahteine 5 years ago
parent 81b0548518
commit 7ec45f4382

@ -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;

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

Loading…
Cancel
Save