mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-05-27 13:19:22 +03:00
Корректируем сообщение об ошибке в модулях датчиков
для возможности генерации события об ошибке
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user