Browse Source

Fix LCD timer string length

blye 6 years ago
parent
commit
7c18c2ea5f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/libs/duration_t.h

+ 1
- 1
Marlin/src/libs/duration_t.h View File

151
     if (with_days) {
151
     if (with_days) {
152
       uint16_t d = this->day();
152
       uint16_t d = this->day();
153
       sprintf_P(buffer, PSTR("%ud %02u:%02u"), d, h % 24, m);
153
       sprintf_P(buffer, PSTR("%ud %02u:%02u"), d, h % 24, m);
154
-      return d >= 10 ? 8 : 7;
154
+      return d >= 10 ? 9 : 8;
155
     }
155
     }
156
     else if (h < 100) {
156
     else if (h < 100) {
157
       sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m);
157
       sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m);

Loading…
Cancel
Save