Skip to content

Commit d4909e6

Browse files
fix: ensure LED states are cleared in night mode and led off
1 parent 8505e7d commit d4909e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wordclock_esp8266.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,8 @@ void loop() {
573573
// Turn off LEDs if ledOff is true or nightmode is active
574574
if((ledOff || nightMode) && !waitForTimeAfterReboot){
575575
ledmatrix.gridFlush();
576+
frameLED.flushRing();
577+
dateLED.flushCalendar();
576578
}
577579

578580
// periodically write colors to matrix

0 commit comments

Comments
 (0)