瀏覽代碼

Merge pull request #9202 from benlye/m73-bugfix

[2.0.x] Fix progress bar duration when time is exactly 86400s
Scott Lahteine 6 年之前
父節點
當前提交
c7bad74d8f
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/lcd/ultralcd_impl_DOGM.h

+ 1
- 1
Marlin/src/lcd/ultralcd_impl_DOGM.h 查看文件

@@ -614,7 +614,7 @@ static void lcd_implementation_status_screen() {
614 614
 
615 615
       char buffer[10];
616 616
       duration_t elapsed = print_job_timer.duration();
617
-      bool has_days = (elapsed.value > 60*60*24L);
617
+      bool has_days = (elapsed.value >= 60*60*24L);
618 618
       uint8_t len = elapsed.toDigital(buffer, has_days);
619 619
       u8g.setPrintPos(SD_DURATION_X, 48);
620 620
       lcd_print(buffer);

Loading…
取消
儲存