mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Removed a number of static config pointers
This commit is contained in:
parent
80700c2158
commit
f6c8319361
23 changed files with 81 additions and 113 deletions
|
@ -892,7 +892,6 @@ void activateConfig(void)
|
|||
|
||||
useRcControlsConfig(
|
||||
modeActivationProfile()->modeActivationConditions,
|
||||
&masterConfig.motorConfig,
|
||||
¤tProfile->pidProfile
|
||||
);
|
||||
|
||||
|
@ -918,12 +917,7 @@ void activateConfig(void)
|
|||
throttleCorrectionConfig()->throttle_correction_angle
|
||||
);
|
||||
|
||||
configureAltitudeHold(
|
||||
¤tProfile->pidProfile,
|
||||
&masterConfig.barometerConfig,
|
||||
&masterConfig.rcControlsConfig,
|
||||
&masterConfig.motorConfig
|
||||
);
|
||||
configureAltitudeHold(¤tProfile->pidProfile);
|
||||
}
|
||||
|
||||
void validateAndFixConfig(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue