Исправляем ошибку с перегрузкой 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

@@ -68,7 +68,7 @@ class ButtonIn : public IoTItem {
_lastButtonState = _reading;
}
void setValue(IoTValue Value) {
void setValue(IoTValue Value, bool generateEvent = true) {
value = Value;
regEvent((String)(int)value.valD, "ButtonIn");
}