Fix voltage filer frequency

This commit is contained in:
jirif 2018-07-27 19:49:24 +02:00
parent 959e6e708b
commit 2c4659c7cd
1 changed files with 1 additions and 1 deletions

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
} }
} }