mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
fix syspress for ems+
This commit is contained in:
@@ -1309,7 +1309,7 @@ void Boiler::process_UBAMonitorFastPlus(std::shared_ptr<const Telegram> telegram
|
|||||||
uint8_t syspress = sysPress_;
|
uint8_t syspress = sysPress_;
|
||||||
telegram->read_value(syspress, 21); // 0 means no sensor
|
telegram->read_value(syspress, 21); // 0 means no sensor
|
||||||
if (syspress == 0) {
|
if (syspress == 0) {
|
||||||
sysPress_ = EMS_VALUE_UINT_NOTSET;
|
syspress = EMS_VALUE_UINT_NOTSET;
|
||||||
}
|
}
|
||||||
has_update(sysPress_, syspress);
|
has_update(sysPress_, syspress);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user