Fix voltage filer frequency
This commit is contained in:
parent
959e6e708b
commit
2c4659c7cd
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue