Browse Source

Merge pull request #9202 from benlye/m73-bugfix

[2.0.x] Fix progress bar duration when time is exactly 86400s
pull/1/head
Scott Lahteine 7 years ago
committed by GitHub
parent
commit
c7bad74d8f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/ultralcd_impl_DOGM.h

2
Marlin/src/lcd/ultralcd_impl_DOGM.h

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

Loading…
Cancel
Save