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:
parent
959e6e708b
commit
2c4659c7cd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue