|
@@ -654,6 +654,12 @@ void lcd_status_screen() {
|
654
|
654
|
ENCODER_RATE_MULTIPLY(false);
|
655
|
655
|
#endif
|
656
|
656
|
|
|
657
|
+ #if ENABLED(LCD_SET_PROGRESS_MANUALLY) && (ENABLED(LCD_PROGRESS_BAR) || ENABLED(DOGLCD))
|
|
658
|
+ // Progress bar % comes from SD when actively printing
|
|
659
|
+ if (IS_SD_PRINTING)
|
|
660
|
+ progress_bar_percent = card.percentDone();
|
|
661
|
+ #endif
|
|
662
|
+
|
657
|
663
|
#if ENABLED(LCD_PROGRESS_BAR)
|
658
|
664
|
|
659
|
665
|
//
|
|
@@ -662,12 +668,6 @@ void lcd_status_screen() {
|
662
|
668
|
// share the same line on the display.
|
663
|
669
|
//
|
664
|
670
|
|
665
|
|
- // Set current percentage from SD when actively printing
|
666
|
|
- #if ENABLED(LCD_SET_PROGRESS_MANUALLY)
|
667
|
|
- if (IS_SD_PRINTING)
|
668
|
|
- progress_bar_percent = card.percentDone();
|
669
|
|
- #endif
|
670
|
|
-
|
671
|
671
|
millis_t ms = millis();
|
672
|
672
|
|
673
|
673
|
// If the message will blink rather than expire...
|