Skip to content

Commit

Permalink
Fix LCD timer string length
Browse files Browse the repository at this point in the history
  • Loading branch information
benlye committed Jan 17, 2018
1 parent 9d0cf02 commit 7c18c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/libs/duration_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ struct duration_t {
if (with_days) {
uint16_t d = this->day();
sprintf_P(buffer, PSTR("%ud %02u:%02u"), d, h % 24, m);
return d >= 10 ? 8 : 7;
return d >= 10 ? 9 : 8;
}
else if (h < 100) {
sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m);
Expand Down

0 comments on commit 7c18c2e

Please sign in to comment.