mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +00:00
Fix for blinking colon.
This commit is contained in:
parent
d6338d7b11
commit
8caa4e9cb6
@ -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
|
// For time, we always use LINE_HEIGHT of 2 since
|
||||||
// we are printing it big.
|
// we are printing it big.
|
||||||
if (fullScreen) {
|
if (fullScreen) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user