1
0
Fork 0
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:
KiteAnton 2016-01-25 23:34:04 +01:00
parent 27772ba56a
commit 69c7c2f9c7
9 changed files with 22 additions and 20 deletions

View file

@ -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);
}