mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Fix #9904 - toDigital should show 00-99 hours
This commit is contained in:
parent
d77be210c1
commit
eacb8346af
@ -154,7 +154,7 @@ struct duration_t {
|
||||
return d >= 10 ? 9 : 8;
|
||||
}
|
||||
else if (h < 100) {
|
||||
sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m);
|
||||
sprintf_P(buffer, PSTR("%02u:%02u"), h, m);
|
||||
return 5;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user