diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 47a8548..6f2d6da 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -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