From 30b1c731b5c35f1db76cbb381e599326c6e74f7b Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 8 Aug 2016 21:26:34 -0700 Subject: [PATCH] Show up to 99:59 in digital time --- Marlin/duration_t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/duration_t.h b/Marlin/duration_t.h index 25ea9bb98..60e02a439 100644 --- a/Marlin/duration_t.h +++ b/Marlin/duration_t.h @@ -145,7 +145,7 @@ struct duration_t { * 1193046:59 */ void toDigital(char *buffer) const { - int h = this->hour() % 24, + int h = this->hour(), m = this->minute() % 60; sprintf_P(buffer, PSTR("%02i:%02i"), h, m);