BUGFIX: didnt read cooldown value
This commit is contained in:
parent
a1a0a5a6cf
commit
c994c1bd0d
@ -65,7 +65,7 @@ namespace floatpump {
|
||||
|
||||
void loadFromFlash() {
|
||||
uint32_t data[11];
|
||||
ReadFromFlash(startAddr, data, 10);
|
||||
ReadFromFlash(startAddr, data, 11);
|
||||
TankCalibLow.setValue(data[0]);
|
||||
TankCalibHigh.setValue(data[1]);
|
||||
TankMinLevel.setValue(data[2]);
|
||||
@ -115,7 +115,7 @@ namespace floatpump {
|
||||
Config_Object<bool> RefillBlockEnable = Config_Object<bool>(true);
|
||||
Config_Object<uint8_t> RefillBelow = Config_Object<uint8_t>(false);
|
||||
Config_Object<uint8_t> RefillHysteresis = Config_Object<uint8_t>(false);
|
||||
Config_Object<uint32_t> RefillCooldown = Config_Object<uint32_t>(60);
|
||||
Config_Object <uint16_t> RefillCooldown = Config_Object<uint16_t>(60);
|
||||
};
|
||||
|
||||
} // floatpump
|
||||
|
Loading…
Reference in New Issue
Block a user