1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Fix voltage filer frequency

This commit is contained in:
jirif 2018-07-27 19:49:24 +02:00
parent 959e6e708b
commit 2c4659c7cd

View file

@ -191,7 +191,7 @@ void voltageMeterADCInit(void)
voltageMeterADCState_t *state = &voltageMeterADCStates[i]; voltageMeterADCState_t *state = &voltageMeterADCStates[i];
memset(state, 0, sizeof(voltageMeterADCState_t)); memset(state, 0, sizeof(voltageMeterADCState_t));
biquadFilterInitLPF(&state->filter, VBAT_LPF_FREQ, 50000); biquadFilterInitLPF(&state->filter, VBAT_LPF_FREQ, 20000); //50HZ Update
} }
} }