Fix Scheme 2-4 brightness when SetOption68 1 (#8058)

This commit is contained in:
Stephan Hadinger 2020-04-13 16:49:09 +02:00
parent 2bfc70f565
commit 11117ccc50
1 changed files with 3 additions and 3 deletions

View File

@ -1819,11 +1819,11 @@ void LightAnimate(void)
case LS_CYCLEDN:
case LS_RANDOM:
if (LS_CYCLEUP == Settings.light_scheme) {
LightCycleColor(1);
LightCycleColor(1);
} else if (LS_CYCLEDN == Settings.light_scheme) {
LightCycleColor(-1);
LightCycleColor(-1);
} else {
LightCycleColor(0);
LightCycleColor(0);
}
if (Light.pwm_multi_channels) { // See #8058
Light.new_color[0] = changeUIntScale(Light.new_color[0], 0, 255, 0, Settings.light_color[0]);