Browse Source

Show up to 99:59 in digital time

Scott Lahteine 9 years ago
parent
commit
30b1c731b5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/duration_t.h

+ 1
- 1
Marlin/duration_t.h View File

145
    *  1193046:59
145
    *  1193046:59
146
    */
146
    */
147
   void toDigital(char *buffer) const {
147
   void toDigital(char *buffer) const {
148
-    int h = this->hour() % 24,
148
+    int h = this->hour(),
149
         m = this->minute() % 60;
149
         m = this->minute() % 60;
150
 
150
 
151
     sprintf_P(buffer, PSTR("%02i:%02i"), h, m);
151
     sprintf_P(buffer, PSTR("%02i:%02i"), h, m);

Loading…
Cancel
Save