Show up to 99:59 in digital time

This commit is contained in:
Scott Lahteine 2016-08-08 21:26:34 -07:00
parent 9afa060ed6
commit 30b1c731b5

View File

@ -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);