|
@@ -412,23 +412,13 @@ void startOrResumeJob() {
|
412
|
412
|
#endif
|
413
|
413
|
}
|
414
|
414
|
|
415
|
|
- #if ENABLED(PRINTER_EVENT_LEDS)
|
416
|
|
- #include "feature/leds/printer_event_leds.h"
|
417
|
|
- #endif
|
418
|
|
-
|
419
|
415
|
inline void finishSDPrinting() {
|
420
|
416
|
bool did_state = true;
|
421
|
417
|
switch (card.sdprinting_done_state) {
|
422
|
418
|
|
423
|
|
- #if ENABLED(PRINTER_EVENT_LEDS)
|
424
|
|
- case 1:
|
425
|
|
- printerEventLEDs.onPrintCompleted(); // Change LED color for Print Completed
|
426
|
|
- break;
|
427
|
|
- #endif
|
428
|
|
-
|
429
|
419
|
#if HAS_RESUME_CONTINUE // Display "Click to Continue..."
|
430
|
|
- case 2:
|
431
|
|
- did_state = queue.enqueue_P(PSTR("M0 S"
|
|
420
|
+ case 1:
|
|
421
|
+ did_state = queue.enqueue_P(PSTR("M0Q1S"
|
432
|
422
|
#if HAS_LCD_MENU
|
433
|
423
|
"1800" // ...for 30 minutes with LCD
|
434
|
424
|
#else
|
|
@@ -438,13 +428,13 @@ void startOrResumeJob() {
|
438
|
428
|
break;
|
439
|
429
|
#endif
|
440
|
430
|
|
441
|
|
- case 3: print_job_timer.stop(); break;
|
|
431
|
+ case 2: print_job_timer.stop(); break;
|
442
|
432
|
|
443
|
|
- case 4:
|
|
433
|
+ case 3:
|
444
|
434
|
did_state = print_job_timer.duration() < 60 || queue.enqueue_P(PSTR("M31"));
|
445
|
435
|
break;
|
446
|
436
|
|
447
|
|
- case 5:
|
|
437
|
+ case 4:
|
448
|
438
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
449
|
439
|
recovery.purge();
|
450
|
440
|
#endif
|