1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Applied 'USE_ACC' consistently.

This commit is contained in:
mikeller 2019-02-06 17:08:51 +13:00
parent 59ea4becb3
commit b5908f5bab
29 changed files with 250 additions and 155 deletions

View file

@ -4080,9 +4080,11 @@ static void cliStatus(char *cmdline)
cliPrint(", ");
}
cliPrintf("%s=%s", sensorTypeNames[i], sensorHardware);
#if defined(USE_ACC)
if (mask == SENSOR_ACC && acc.dev.revisionCode) {
cliPrintf(".%c", acc.dev.revisionCode);
}
#endif
}
}
cliPrintLinefeed();