Fix for blinking colon.

This commit is contained in:
Blaz Kristan 2021-04-24 00:00:20 +02:00
parent d6338d7b11
commit 8caa4e9cb6

View File

@ -625,7 +625,7 @@ class FourLineDisplayUsermod : public Usermod {
}
}
sprintf_P(lineBuffer, (secondCurrent%2) ? PSTR("%2d:%02d") : PSTR("%2d %02d"), (useAMPM && fullScreen ? showHour : hourCurrent), minuteCurrent);
sprintf_P(lineBuffer, (secondCurrent%2 || !fullScreen) ? PSTR("%2d:%02d") : PSTR("%2d %02d"), (useAMPM && fullScreen ? showHour : hourCurrent), minuteCurrent);
// For time, we always use LINE_HEIGHT of 2 since
// we are printing it big.
if (fullScreen) {