diff --git a/terminal/puzzle_colorFade/core/src/main.cpp b/terminal/puzzle_colorFade/core/src/main.cpp index a8894ab..6091bc1 100644 --- a/terminal/puzzle_colorFade/core/src/main.cpp +++ b/terminal/puzzle_colorFade/core/src/main.cpp @@ -319,12 +319,14 @@ void loop() if (digitalRead(REGENERATE_PIN) == HIGH) { - unsigned long resetTimer = millis(); - while (digitalRead(REGENERATE_PIN) == HIGH) - { - delay(10); - } - generateTargetGameBoard(millis() - resetTimer > 150); + // unsigned long resetTimer = millis(); + // while (digitalRead(REGENERATE_PIN) == HIGH) + // { + // delay(10); + // } + //generateTargetGameBoard(millis() - resetTimer > 150); + generateTargetGameBoard(false); + delay(50); } readExternalPotiValues();