From d385a7f483e3279adf6f2165671770e1b0290d9b Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 22 May 2015 21:46:58 +0200 Subject: [PATCH] Ignore battery voltage only when below 2.5V, as we could be still running at that voltage --- src/modules/sensors/sensors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index 34bcc88e50..cf1f51c9dd 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -133,7 +133,7 @@ #endif #define BATT_V_LOWPASS 0.001f -#define BATT_V_IGNORE_THRESHOLD 4.8f +#define BATT_V_IGNORE_THRESHOLD 2.5f /** * HACK - true temperature is much less than indicated temperature in baro,