mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
Исправляем ошибку с перегрузкой setValue у дочерних классов
This commit is contained in:
@@ -54,7 +54,7 @@ class Pwm32 : public IoTItem {
|
||||
}
|
||||
}
|
||||
|
||||
void setValue(IoTValue Value) {
|
||||
void setValue(IoTValue Value, bool generateEvent = true) {
|
||||
value = Value;
|
||||
ledcWrite(_ledChannel, value.valD);
|
||||
regEvent(value.valD, "Pwm32");
|
||||
|
||||
Reference in New Issue
Block a user