Read more distances

This commit is contained in:
Ollo
2023-06-11 13:51:13 +02:00
parent c6ddfea44b
commit 2636e2defa
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ extern "C" bool verifyRollbackLater(){
* DEFINES
******************************************************************************/
#define AMOUNT_SENOR_QUERYS 8
#define MAX_TANK_DEPTH 2000
#define MAX_TANK_DEPTH 5000
#define REBOOT_LOOP_DETECTION_ERROR 5
/******************************************************************************
@@ -85,7 +85,7 @@ int volatile selfTestPumpRun = -1; /** pump to run at the end of the cycle */
bool mConfigured = false;
long nextBlink = 0; /**< Time needed in main loop to support expected blink code */
RunningMedian waterRawSensor = RunningMedian(5);
RunningMedian waterRawSensor = RunningMedian(WATERSENSOR_CYCLE);
float mSolarVoltage = 0.0f; /**< Voltage from solar panels */
float mBatteryVoltage = 0.0f; /**< Voltage from lipo */
unsigned long setupFinishedTimestamp;