Skip to content

Commit

Permalink
Bug fixes and update deprecated use of byte arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-hutchison-wdc committed Feb 11, 2021
1 parent 32b24f6 commit ad03ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LogicEngine.ino
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ void loopsDonedoRestoreDefault(uint8_t logicDisplay)
{
// Set back to the default pattern
lastEventCode[logicDisplay - 1] = defaultPattern;
//lastEventDuration[logicDisplay - 1] = 0;
lastEventDuration[logicDisplay - 1] = 0;
ledPatternState[logicDisplay - 1] = 0;
patternRunning[logicDisplay - 1] = false;
}
Expand All @@ -1000,7 +1000,7 @@ void globalTimerDonedoRestoreDefault(int logicDisplay)
globalPatternLoops[logicDisplay - 1] = 0;
// Global timeout expired, go back to default mode.
lastEventCode[logicDisplay - 1] = defaultPattern;
//lastEventDuration[logicDisplay - 1] = 0;
lastEventDuration[logicDisplay - 1] = 0;
ledPatternState[logicDisplay - 1] = 0;
patternRunning[logicDisplay - 1] = false;
}
Expand Down

0 comments on commit ad03ccd

Please sign in to comment.