From 2c4659c7cdab9d371129f55e265e9cb2a0f676e9 Mon Sep 17 00:00:00 2001 From: jirif Date: Fri, 27 Jul 2018 19:49:24 +0200 Subject: [PATCH] Fix voltage filer frequency --- src/main/sensors/voltage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/sensors/voltage.c b/src/main/sensors/voltage.c index 613ba76a9..58a9dfe3c 100644 --- a/src/main/sensors/voltage.c +++ b/src/main/sensors/voltage.c @@ -191,7 +191,7 @@ void voltageMeterADCInit(void) voltageMeterADCState_t *state = &voltageMeterADCStates[i]; memset(state, 0, sizeof(voltageMeterADCState_t)); - biquadFilterInitLPF(&state->filter, VBAT_LPF_FREQ, 50000); + biquadFilterInitLPF(&state->filter, VBAT_LPF_FREQ, 20000); //50HZ Update } }