mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Fixed display of arming flags in CLI.
This commit is contained in:
parent
6f4bd2ac06
commit
d5fdb1a498
1 changed files with 1 additions and 1 deletions
|
@ -3010,7 +3010,7 @@ static void cliStatus(char *cmdline)
|
|||
#if defined(OSD) || !defined(MINIMAL_CLI)
|
||||
/* Flag strings are present if OSD is compiled so may as well use them even with MINIMAL_CLI */
|
||||
cliPrint("Arming disable flags:");
|
||||
uint16_t flags = getArmingDisableFlags();
|
||||
armingDisableFlags_e flags = getArmingDisableFlags();
|
||||
while (flags) {
|
||||
int bitpos = ffs(flags) - 1;
|
||||
flags &= ~(1 << bitpos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue