mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Корректируем алгоритм работы с наследными setValue в модулях
This commit is contained in:
@@ -178,7 +178,7 @@ public:
|
||||
int b = map(value.valD, 1,1024,1,255);
|
||||
_strip->setBrightness(b);
|
||||
_strip->show();
|
||||
regEvent(value.valD, "Ws2812b");
|
||||
if (generateEvent) regEvent(value.valD, "Ws2812b");
|
||||
}
|
||||
|
||||
~Ws2812b(){};
|
||||
|
||||
Reference in New Issue
Block a user