From 87e5fb995326bc9fcc89b2e71ed2ef8af2e0a442 Mon Sep 17 00:00:00 2001 From: Brandon502 <105077712+Brandon502@users.noreply.github.com> Date: Wed, 24 Jul 2024 17:00:01 -0400 Subject: [PATCH] Rubik's Pause fix --- src/App/LedEffects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/LedEffects.h b/src/App/LedEffects.h index e0161ca2..83445ece 100644 --- a/src/App/LedEffects.h +++ b/src/App/LedEffects.h @@ -1937,7 +1937,7 @@ class RubiksCube: public Effect { typedef void (Cube::*RotateFunc)(bool direction, uint8_t width); const RotateFunc rotateFuncs[] = {&Cube::rotateFront, &Cube::rotateBack, &Cube::rotateLeft, &Cube::rotateRight, &Cube::rotateTop, &Cube::rotateBottom}; - if (*setup && sys->now > *step || *step - 1000 > sys->now) { // *step - 1000 > sys->now temp fix for default on boot + if (*setup && sys->now > *step || *step - 3100 > sys->now) { // *step - 3100 > sys->now temp fix for default on boot *step = sys->now + 1000; *setup = false; cube->init(cubeSize);