mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Move modes and adjustments from profile to free up flash
This commit is contained in:
parent
27772ba56a
commit
69c7c2f9c7
9 changed files with 22 additions and 20 deletions
|
@ -531,10 +531,10 @@ void processRx(void)
|
|||
updateInflightCalibrationState();
|
||||
}
|
||||
|
||||
updateActivatedModes(currentProfile->modeActivationConditions);
|
||||
updateActivatedModes(masterConfig.modeActivationConditions);
|
||||
|
||||
if (!cliMode) {
|
||||
updateAdjustmentStates(currentProfile->adjustmentRanges);
|
||||
updateAdjustmentStates(masterConfig.adjustmentRanges);
|
||||
processRcAdjustments(currentControlRateProfile, &masterConfig.rxConfig);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue