mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Made 'features' work when config is in copy.
This commit is contained in:
parent
e441549b58
commit
accb49c157
4 changed files with 11 additions and 19 deletions
|
@ -177,7 +177,7 @@ static uint32_t getFeatureMask(void)
|
|||
if (featureMaskIsCopied) {
|
||||
return featureMaskCopy;
|
||||
} else {
|
||||
return featureMask();
|
||||
return featureConfig()->enabledFeatures;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue