mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 07:17:16 +00:00
Fix 6887
This commit is contained in:
parent
becea45707
commit
32538507d2
@ -1683,8 +1683,7 @@ void LightAnimate(void)
|
||||
// Light.power, Light.new_color[0], Light.new_color[1], Light.new_color[2],
|
||||
// Light.new_color[3], Light.new_color[4]);
|
||||
// #endif
|
||||
}
|
||||
|
||||
} else {
|
||||
if (!light_controller.isCTRGBLinked()) {
|
||||
// we have 2 power bits for RGB and White
|
||||
if (0 == (Light.power & 1)) {
|
||||
@ -1694,6 +1693,7 @@ void LightAnimate(void)
|
||||
Light.new_color[3] = Light.new_color[4] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (memcmp(Light.last_color, Light.new_color, Light.subtype)) {
|
||||
Light.update = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user