mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +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
|
@ -389,7 +389,7 @@ void activateConfig(void)
|
|||
imuRuntimeConfig.gyro_cmpfm_factor = masterConfig.gyro_cmpfm_factor;
|
||||
imuRuntimeConfig.acc_lpf_factor = currentProfile.acc_lpf_factor;
|
||||
|
||||
configureImu(&imuRuntimeConfig);
|
||||
configureImu(&imuRuntimeConfig, ¤tProfile.pidProfile);
|
||||
|
||||
calculateThrottleAngleScale(currentProfile.throttle_correction_angle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue