fix burnpower min>max, #1703

This commit is contained in:
MichaelDvP
2024-04-24 07:56:29 +02:00
parent 5ec68b85d2
commit 696cfc0415

View File

@@ -1163,10 +1163,12 @@ 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