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

Merge pull request #7541 from mikeller/excise_use_acc

Applied 'USE_ACC' consistently.
This commit is contained in:
Michael Keller 2019-02-08 19:48:00 +13:00 committed by GitHub
commit 26c1177cdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 257 additions and 156 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();