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:
commit
26c1177cdb
30 changed files with 257 additions and 156 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue