mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Decoupling imu from config - pid profile.
This commit is contained in:
parent
da73be1b2d
commit
82bb6b7982
3 changed files with 9 additions and 7 deletions
|
@ -27,7 +27,7 @@ typedef struct imuRuntimeConfig_s {
|
|||
float gyro_cmpfm_factor;
|
||||
} imuRuntimeConfig_t;
|
||||
|
||||
void configureImu(imuRuntimeConfig_t *initialImuRuntimeConfig);
|
||||
void configureImu(imuRuntimeConfig_t *initialImuRuntimeConfig, pidProfile_t *initialPidProfile);
|
||||
|
||||
int getEstimatedAltitude(void);
|
||||
void computeIMU(rollAndPitchTrims_t *accelerometerTrims);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue