Skip to content

Commit

Permalink
Rubik's Pause fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon502 committed Jul 24, 2024
1 parent 2b40d71 commit 87e5fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/LedEffects.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 87e5fb9

Please sign in to comment.