Исправляем ошибку с перегрузкой setValue у дочерних классов

This commit is contained in:
2022-10-20 09:28:35 +03:00
parent cce9f2197a
commit 2a27b1d9bf
8 changed files with 8 additions and 8 deletions

View File

@@ -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");