diff --git a/LogicEngine.ino b/LogicEngine.ino index 92c9a39..8aab33e 100644 --- a/LogicEngine.ino +++ b/LogicEngine.ino @@ -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; } @@ -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; }