Skip to content

Commit

Permalink
Fix #9904 - toDigital should show 00-99 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 4, 2018
1 parent 3c64d9d commit 097ffa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/duration_t.h
Expand Up @@ -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 {
Expand Down

0 comments on commit 097ffa4

Please sign in to comment.