Fix a progress bar condition
This commit is contained in:
1 parent
6845f17fb2
commit
47619e4476
1 file changed
+1
-1
+1
-1
@@ -642,7 +642,7 @@ void lcd_status_screen() {
|
||||
ENCODER_RATE_MULTIPLY(false);
|
||||
#endif
|
||||
|
||||
#if ENABLED(LCD_SET_PROGRESS_MANUALLY) && (ENABLED(LCD_PROGRESS_BAR) || ENABLED(DOGLCD))
|
||||
#if ENABLED(LCD_SET_PROGRESS_MANUALLY) && ENABLED(SDSUPPORT) && (ENABLED(LCD_PROGRESS_BAR) || ENABLED(DOGLCD))
|
||||
// Progress bar % comes from SD when actively printing
|
||||
if (IS_SD_PRINTING)
|
||||
progress_bar_percent = card.percentDone();
|
||||
|
||||
Reference in new issue
Block a user