1
0
Fork 0
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:
mikeller 2019-08-12 03:08:21 +12:00
parent e441549b58
commit accb49c157
4 changed files with 11 additions and 19 deletions

View file

@ -177,7 +177,7 @@ static uint32_t getFeatureMask(void)
if (featureMaskIsCopied) {
return featureMaskCopy;
} else {
return featureMask();
return featureConfig()->enabledFeatures;
}
}