Корректируем сообщение об ошибке в модулях датчиков

для возможности генерации события об ошибке
This commit is contained in:
2022-10-28 16:26:13 +03:00
parent 305a5f5ccb
commit dfd24dc1f6
10 changed files with 26 additions and 26 deletions

View File

@@ -29,7 +29,7 @@ class MAX6675t : public IoTItem {
if (String(value.valD) != "nan") {
regEvent(value.valD, "Max6675t");
} else {
SerialPrint("E", "Sensor Max6675t", "Error");
SerialPrint("E", "Sensor Max6675t", "Error", _id);
}
}