* fix typo assignment and comparison
This commit is contained in:
debsahu 2018-05-12 01:44:35 -04:00
parent b104178b56
commit 857763cdb4

View file

@ -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