Browse Source

Fix LCD progress bar

Fixes #17162
Scott Lahteine 5 years ago
parent
commit
41ffe9851d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Configuration_adv.h

+ 2
- 2
Marlin/Configuration_adv.h View File

999
   #define BOOTSCREEN_TIMEOUT 4000        // (ms) Total Duration to display the boot screen(s)
999
   #define BOOTSCREEN_TIMEOUT 4000        // (ms) Total Duration to display the boot screen(s)
1000
 #endif
1000
 #endif
1001
 
1001
 
1002
-#if HAS_GRAPHICAL_LCD && HAS_PRINT_PROGRESS
1002
+#if HAS_GRAPHICAL_LCD && EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY)
1003
   //#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits
1003
   //#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits
1004
   //#define SHOW_REMAINING_TIME          // Display estimated time to completion
1004
   //#define SHOW_REMAINING_TIME          // Display estimated time to completion
1005
   #if ENABLED(SHOW_REMAINING_TIME)
1005
   #if ENABLED(SHOW_REMAINING_TIME)
1008
   #endif
1008
   #endif
1009
 #endif
1009
 #endif
1010
 
1010
 
1011
-#if HAS_CHARACTER_LCD && HAS_PRINT_PROGRESS
1011
+#if HAS_CHARACTER_LCD && EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY)
1012
   //#define LCD_PROGRESS_BAR              // Show a progress bar on HD44780 LCDs for SD printing
1012
   //#define LCD_PROGRESS_BAR              // Show a progress bar on HD44780 LCDs for SD printing
1013
   #if ENABLED(LCD_PROGRESS_BAR)
1013
   #if ENABLED(LCD_PROGRESS_BAR)
1014
     #define PROGRESS_BAR_BAR_TIME 2000    // (ms) Amount of time to show the bar
1014
     #define PROGRESS_BAR_BAR_TIME 2000    // (ms) Amount of time to show the bar

Loading…
Cancel
Save