From a359b289c7f5f55a1dd0f2c596f10c1c1ec09c14 Mon Sep 17 00:00:00 2001 From: C0d3v Date: Mon, 19 Jan 2026 20:50:01 +0100 Subject: [PATCH] Use old reset mechanic --- terminal/puzzle_colorFade/core/src/main.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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();