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) {
|
||||
strip.setBrightness(brightness);
|
||||
strip.trigger();
|
||||
if (prevmode == SET_MODE) prevmode == HOLD;
|
||||
if (prevmode == SET_MODE) prevmode = HOLD;
|
||||
mode = HOLD;
|
||||
}
|
||||
#ifdef ENABLE_LEGACY_ANIMATIONS
|
||||
|
|
Loading…
Reference in a new issue