Browse Source

Fix #9904 - toDigital should show 00-99 hours

pull/1/head
Scott Lahteine 7 years ago
parent
commit
881529a401
  1. 2
      Marlin/src/libs/duration_t.h

2
Marlin/src/libs/duration_t.h

@ -154,7 +154,7 @@ struct duration_t {
return d >= 10 ? 9 : 8; return d >= 10 ? 9 : 8;
} }
else if (h < 100) { else if (h < 100) {
sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m); sprintf_P(buffer, PSTR("%02u:%02u"), h, m);
return 5; return 5;
} }
else { else {

Loading…
Cancel
Save