Browse Source

Patch lcd_implementation_status_screen compiler warning

Scott Lahteine 7 years ago
parent
commit
f1a1c6873e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd_impl_HD44780.h

+ 1
- 1
Marlin/ultralcd_impl_HD44780.h View File

@@ -777,7 +777,7 @@ static void lcd_implementation_status_screen() {
777 777
 
778 778
     // Draw the progress bar if the message has shown long enough
779 779
     // or if there is no message set.
780
-    if (card.isFileOpen() && ELAPSED(millis(), progress_bar_ms + PROGRESS_BAR_MSG_TIME) || !lcd_status_message[0])
780
+    if (card.isFileOpen() && (ELAPSED(millis(), progress_bar_ms + PROGRESS_BAR_MSG_TIME) || !lcd_status_message[0]))
781 781
       return lcd_draw_progress_bar(card.percentDone());
782 782
 
783 783
   #elif ENABLED(FILAMENT_LCD_DISPLAY) && ENABLED(SDSUPPORT)

Loading…
Cancel
Save