mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-05-19 07:48:15 +05:00
refactor: reworking the freeze protection algorithm (#242)
* refactor: impoved freeze protection * refactor: reworked freeze protection
This commit is contained in:
+2
-1
@@ -121,8 +121,8 @@ struct Settings {
|
||||
} overheatProtection;
|
||||
|
||||
struct {
|
||||
uint8_t highTemp = 15;
|
||||
uint8_t lowTemp = 10;
|
||||
unsigned short thresholdTime = 600;
|
||||
} freezeProtection;
|
||||
} heating;
|
||||
|
||||
@@ -304,6 +304,7 @@ struct Variables {
|
||||
bool enabled = false;
|
||||
bool indoorTempControl = false;
|
||||
bool overheat = false;
|
||||
bool freezing = false;
|
||||
float setpointTemp = 0.0f;
|
||||
float targetTemp = 0.0f;
|
||||
float currentTemp = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user