1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 23:35:34 +03:00

Simplify filters

This commit is contained in:
borisbstyle 2015-12-10 21:37:57 +01:00
parent 6f4d741cd0
commit 8f0d7de791
5 changed files with 20 additions and 35 deletions

View file

@ -694,9 +694,8 @@ void activateConfig(void)
&currentProfile->pidProfile
);
if (currentProfile->pidProfile.gyro_soft_lpf) {
useGyroConfig(&masterConfig.gyroConfig, filterGetFIRCoefficientsTable()); // Leave this for more coefficients in the future
}
useGyroConfig(&masterConfig.gyroConfig, currentProfile->pidProfile.gyro_soft_lpf); // Leave this for more coefficients in the future
#ifdef TELEMETRY
telemetryUseConfig(&masterConfig.telemetryConfig);