From 5cb25a412aa86bed017e013770290057e11bf72b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Fri, 14 Feb 2025 21:19:36 +0100 Subject: [PATCH] Increase voltage moving average filter window from 10 values to 20 values --- src/power/PowerParameters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/power/PowerParameters.h b/src/power/PowerParameters.h index c895b65..bf16281 100644 --- a/src/power/PowerParameters.h +++ b/src/power/PowerParameters.h @@ -44,7 +44,7 @@ struct Battery { }; // Configuration - static constexpr int AVERAGING_SAMPLES = 10; + static constexpr int AVERAGING_SAMPLES = 20; }; // Factors concerning Buck-Boost-Converter