Skip to content

Commit

Permalink
Merge remote-tracking branch 'Brandon502/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoudwijma committed Jul 28, 2024
2 parents 46a48d2 + 87e5fb9 commit 079a74c
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 079a74c

Please sign in to comment.