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

Make gyro calibration period user configurable and rename moron_threshold

Gryo calibration period can be configured in 1/100 second intervals using `gyro_calib_duration` (default is 125 or 1.25 seconds).

Renamed the `moron_threshold` parameter to `gyro_calib_noise_limit`. Functionally it is unchanged.
This commit is contained in:
Bruce Luckcuck 2018-05-21 07:35:31 -04:00
parent 346201d8ac
commit 8f6f4bf4c4
4 changed files with 6 additions and 3 deletions

View file

@ -105,6 +105,8 @@ typedef struct gyroConfig_s {
bool yaw_spin_recovery;
int16_t yaw_spin_threshold;
uint16_t gyroCalibrationDuration; // Gyro calibration duration in 1/100 second
} gyroConfig_t;
PG_DECLARE(gyroConfig_t, gyroConfig);