1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +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

@ -2002,13 +2002,13 @@ static void cliFeature(char *cmdline)
if (strncasecmp(cmdline, featureNames[i], len) == 0) {
mask = 1 << i;
#ifndef GPS
#ifndef USE_GPS
if (mask & FEATURE_GPS) {
cliPrintLine("unavailable");
break;
}
#endif
#ifndef SONAR
#ifndef USE_SONAR
if (mask & FEATURE_SONAR) {
cliPrintLine("unavailable");
break;