mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix duration when time is exactly 86400s
This commit is contained in:
parent
bee2b5eea4
commit
554d849827
@ -607,7 +607,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 New Issue
Block a user