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

2khz Support Added

This commit is contained in:
borisbstyle 2015-12-22 17:42:57 +01:00
parent 27c6db51fb
commit a3fe45d774
8 changed files with 79 additions and 31 deletions

View file

@ -36,6 +36,7 @@
#include "drivers/timer.h"
#include "drivers/pwm_rx.h"
#include "drivers/serial.h"
#include "drivers/gyro_sync.h"
#include "sensors/sensors.h"
#include "sensors/gyro.h"
@ -751,7 +752,7 @@ void activateConfig(void)
);
useGyroConfig(&masterConfig.gyroConfig, currentProfile->pidProfile.gyro_soft_lpf); // Leave this for more coefficients in the future
useGyroConfig(&masterConfig.gyroConfig, filterGetFIRCoefficientsTable(currentProfile->pidProfile.gyro_soft_lpf, targetLooptime));
#ifdef TELEMETRY
telemetryUseConfig(&masterConfig.telemetryConfig);