fix typo
* fix typo assignment and comparison
This commit is contained in:
parent
b104178b56
commit
857763cdb4
1 changed files with 1 additions and 1 deletions
|
@ -937,7 +937,7 @@ void loop() {
|
||||||
if (mode == BRIGHTNESS) {
|
if (mode == BRIGHTNESS) {
|
||||||
strip.setBrightness(brightness);
|
strip.setBrightness(brightness);
|
||||||
strip.trigger();
|
strip.trigger();
|
||||||
if (prevmode == SET_MODE) prevmode == HOLD;
|
if (prevmode == SET_MODE) prevmode = HOLD;
|
||||||
mode = HOLD;
|
mode = HOLD;
|
||||||
}
|
}
|
||||||
#ifdef ENABLE_LEGACY_ANIMATIONS
|
#ifdef ENABLE_LEGACY_ANIMATIONS
|
||||||
|
|
Loading…
Reference in a new issue