mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
Add TODO
This commit is contained in:
parent
fcf3477165
commit
e87714dbcd
@ -137,6 +137,7 @@ extern "C" {
|
|||||||
{
|
{
|
||||||
if (Settings->flag6.berry_light_scheme &&
|
if (Settings->flag6.berry_light_scheme &&
|
||||||
(1 == TasmotaGlobal.light_driver)) { // XLGT_01
|
(1 == TasmotaGlobal.light_driver)) { // XLGT_01
|
||||||
|
// TODO: Need to add test for RMT0
|
||||||
#ifdef USE_NETWORK_LIGHT_SCHEMES
|
#ifdef USE_NETWORK_LIGHT_SCHEMES
|
||||||
bool scheme_berry = ((Light.max_scheme -1) == Settings->light_scheme);
|
bool scheme_berry = ((Light.max_scheme -1) == Settings->light_scheme);
|
||||||
#else
|
#else
|
||||||
@ -144,6 +145,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
if (scheme_berry) {
|
if (scheme_berry) {
|
||||||
if (!Light.power) {
|
if (!Light.power) {
|
||||||
|
// Skip berry Show() as WS2812 driver Show() has powered off leds
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user