1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Complete decoupling of imu code from config.

The giant list of unrelated includes is now gone and the dependencies
are now clear.
This commit is contained in:
Dominic Clifton 2014-06-07 02:44:06 +01:00
parent deda79cb14
commit 0b9c326ffe
4 changed files with 6 additions and 46 deletions

View file

@ -31,6 +31,6 @@ typedef struct imuRuntimeConfig_s {
void configureImu(imuRuntimeConfig_t *initialImuRuntimeConfig, pidProfile_t *initialPidProfile, barometerConfig_t *intialBarometerConfig, accDeadband_t *initialAccDeadband);
int getEstimatedAltitude(void);
void computeIMU(rollAndPitchTrims_t *accelerometerTrims);
void computeIMU(rollAndPitchTrims_t *accelerometerTrims, uint8_t mixerConfiguration);
void calculateThrottleAngleScale(uint16_t throttle_correction_angle);
int16_t calculateThrottleAngleCorrection(uint8_t throttle_correction_value);