mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Add Experimental LPF parameter
This commit is contained in:
parent
856ceee528
commit
a2a58d8ccb
3 changed files with 7 additions and 3 deletions
|
@ -44,7 +44,7 @@ bool gyroSyncCheckUpdate(void) {
|
|||
void gyroUpdateSampleRate(uint8_t lpf, uint8_t gyroSyncDenominator) {
|
||||
int gyroSamplePeriod;
|
||||
|
||||
if (!lpf) {
|
||||
if (!lpf || lpf == 7) {
|
||||
gyroSamplePeriod = 125;
|
||||
} else {
|
||||
gyroSamplePeriod = 1000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue