mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
Merge pull request #9203 from benlye/m73-bugfix-1.1.x
[1.1.x] Fix progress bar duration when time is exactly 86400s
This commit is contained in:
commit
333bd8f394
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,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…
Reference in a new issue