浏览代码

Patch lcd_implementation_status_screen compiler warning

Scott Lahteine 8 年前
父节点
当前提交
f1a1c6873e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/ultralcd_impl_HD44780.h

+ 1
- 1
Marlin/ultralcd_impl_HD44780.h 查看文件

@@ -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)

正在加载...
取消
保存