Browse Source

Show up to 99:59 in digital time

pull/1/head
Scott Lahteine 8 years ago
parent
commit
30b1c731b5
  1. 2
      Marlin/duration_t.h

2
Marlin/duration_t.h

@ -145,7 +145,7 @@ struct duration_t {
* 1193046:59 * 1193046:59
*/ */
void toDigital(char *buffer) const { void toDigital(char *buffer) const {
int h = this->hour() % 24, int h = this->hour(),
m = this->minute() % 60; m = this->minute() % 60;
sprintf_P(buffer, PSTR("%02i:%02i"), h, m); sprintf_P(buffer, PSTR("%02i:%02i"), h, m);

Loading…
Cancel
Save