1
0
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:
Scott Lahteine 2018-03-04 04:31:28 -06:00
parent d77be210c1
commit eacb8346af

View File

@ -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 {