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

Moved masterConfig throttle correction items into a struct

This commit is contained in:
Martin Budden 2016-11-27 20:39:58 +00:00
parent 18b052e246
commit 84467ea0e1
5 changed files with 14 additions and 9 deletions

View file

@ -51,6 +51,11 @@ typedef struct accDeadband_s {
uint8_t z; // set the acc deadband for z-Axis, this ignores small accelerations
} accDeadband_t;
typedef struct throttleCorrectionConfig_s {
uint16_t throttle_correction_angle; // the angle when the throttle correction is maximal. in 0.1 degres, ex 225 = 22.5 ,30.0, 450 = 45.0 deg
uint8_t throttle_correction_value; // the correction that will be applied at throttle_correction_angle.
} throttleCorrectionConfig_t;
typedef struct imuRuntimeConfig_s {
uint8_t acc_cut_hz;
uint8_t acc_unarmedcal;