1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Biquad RC+FIR2: Allow user to specify cutoff Hz parameter directly

* Generate 'k' per the code for the PT1
* Adjust function prototypes/functions to accept f_cut/dT where applicable
* Adjust gyro configuration, parameter group, interface settings to suit
This commit is contained in:
AJ Christensen 2018-02-10 16:39:05 +13:00
parent 1c3a3229ad
commit 4dd65a2876
5 changed files with 17 additions and 12 deletions

View file

@ -65,6 +65,7 @@ typedef struct gyroConfig_s {
bool gyro_high_fsr;
bool gyro_use_32khz;
uint8_t gyro_to_use;
uint16_t gyro_soft_lpf_hz_2;
uint16_t gyro_soft_notch_hz_1;
uint16_t gyro_soft_notch_cutoff_1;
uint16_t gyro_soft_notch_hz_2;