diff --git a/src/config.cpp b/src/config.cpp index 17ed872..1f3e366 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -1446,8 +1446,8 @@ static bool normalizeHeatingOverheatBounds(HeatingSettings& dst) { static bool normalizeHeatingFreezeBounds(HeatingSettings& dst) { bool changed = false; - if (dst.freezeProtection.highTemp < dst.freezeProtection.lowTemp) { - dst.freezeProtection.highTemp = dst.freezeProtection.lowTemp; + if (dst.freezeProtection.highTemp <= dst.freezeProtection.lowTemp) { + dst.freezeProtection.highTemp = dst.freezeProtection.lowTemp + 1; changed = true; }