1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Fixed 'ifndef' cases for change to 'USE_<x>'.

This commit is contained in:
mikeller 2017-11-05 22:49:56 +13:00
parent 7643e1cff0
commit 1ff9c27314
3 changed files with 7 additions and 7 deletions

View file

@ -440,11 +440,11 @@ static void validateAndFixConfig(void)
featureClear(FEATURE_SOFTSERIAL);
#endif
#ifndef GPS
#ifndef USE_GPS
featureClear(FEATURE_GPS);
#endif
#ifndef SONAR
#ifndef USE_SONAR
featureClear(FEATURE_SONAR);
#endif
@ -468,7 +468,7 @@ static void validateAndFixConfig(void)
featureClear(FEATURE_DASHBOARD);
#endif
#ifndef OSD
#ifndef USE_OSD
featureClear(FEATURE_OSD);
#endif