diff --git a/Middlewares/floatpump/Inc/Config_Store.h b/Middlewares/floatpump/Inc/Config_Store.h index b8738ac..194c7c3 100644 --- a/Middlewares/floatpump/Inc/Config_Store.h +++ b/Middlewares/floatpump/Inc/Config_Store.h @@ -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 RefillBlockEnable = Config_Object(true); Config_Object RefillBelow = Config_Object(false); Config_Object RefillHysteresis = Config_Object(false); - Config_Object RefillCooldown = Config_Object(60); + Config_Object RefillCooldown = Config_Object(60); }; } // floatpump