Browse Source

Fix #9904 - toDigital should show 00-99 hours

Scott Lahteine 7 years ago
parent
commit
881529a401
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

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

Loading…
Cancel
Save