mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
fix burnpower min>max, #1703
This commit is contained in:
@@ -1163,11 +1163,13 @@ void Boiler::process_UBAFactory(std::shared_ptr<const Telegram> telegram) {
|
||||
if (nomPower > 0 && nomPower_ == 0) {
|
||||
has_update(nomPower_, nomPower);
|
||||
}
|
||||
if (min <= max) {
|
||||
set_minmax(&burnMinPower_, 0, max);
|
||||
set_minmax(&burnMaxPower_, min, max);
|
||||
set_minmax(&wwMaxPower_, min, max);
|
||||
set_minmax(&selBurnPow_, 0, max);
|
||||
}
|
||||
}
|
||||
|
||||
// 0x18
|
||||
void Boiler::process_UBAMonitorFast(std::shared_ptr<const Telegram> telegram) {
|
||||
|
||||
Reference in New Issue
Block a user