Browse Source

Merge pull request #9202 from benlye/m73-bugfix

[2.0.x] Fix progress bar duration when time is exactly 86400s
Scott Lahteine 7 years ago
parent
commit
c7bad74d8f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/ultralcd_impl_DOGM.h

+ 1
- 1
Marlin/src/lcd/ultralcd_impl_DOGM.h View File

@@ -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…
Cancel
Save