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:
parent
59ea4becb3
commit
b5908f5bab
29 changed files with 250 additions and 155 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