Browse Source

Fix a progress bar condition

pull/1/head
Scott Lahteine 7 years ago
parent
commit
43ff15244d
  1. 2
      Marlin/src/lcd/ultralcd.cpp

2
Marlin/src/lcd/ultralcd.cpp

@ -659,7 +659,7 @@ void lcd_status_screen() {
ENCODER_RATE_MULTIPLY(false); ENCODER_RATE_MULTIPLY(false);
#endif #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 // Progress bar % comes from SD when actively printing
if (IS_SD_PRINTING) if (IS_SD_PRINTING)
progress_bar_percent = card.percentDone(); progress_bar_percent = card.percentDone();

Loading…
Cancel
Save