Skip to content

Commit

Permalink
Fix for MinuteLEDs are not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dbambus committed Apr 21, 2024
1 parent 5b0a2e7 commit b421e7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/clockWork.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1335,6 +1335,11 @@ void ClockWork::loop(struct tm &tm) {
calcClockface();

switch (changesInClockface()) {
case WordclockChanges::Minute:
lastMinuteArray = minuteArray;
memcpy(&lastFrontMatrix, &frontMatrix, sizeof lastFrontMatrix);
led.set(WordclockChanges::Minute);
break;
case WordclockChanges::Words:
lastMinuteArray = minuteArray;
memcpy(&lastFrontMatrix, &frontMatrix, sizeof lastFrontMatrix);
Expand Down

0 comments on commit b421e7d

Please sign in to comment.