mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Fixed OSD warnings overlap to the right.
This commit is contained in:
parent
9d7c8fbd46
commit
c89f87018b
3 changed files with 32 additions and 11 deletions
|
@ -29,10 +29,26 @@ uint16_t flightModeFlags = 0;
|
|||
|
||||
static uint32_t enabledSensors = 0;
|
||||
|
||||
// Must be shorter than OSD_WARNINGS_MAX_SIZE (11) to be displayed fully in OSD
|
||||
const char *armingDisableFlagNames[]= {
|
||||
"NOGYRO", "FAILSAFE", "RXLOSS", "BADRX", "BOXFAILSAFE",
|
||||
"RUNAWAY", "THROTTLE", "ANGLE", "BOOTGRACE", "NOPREARM", "LOAD",
|
||||
"CALIB", "CLI", "CMS", "OSD", "BST", "MSP", "ARMSWITCH"
|
||||
"NOGYRO",
|
||||
"FAILSAFE",
|
||||
"RXLOSS",
|
||||
"BADRX",
|
||||
"BOXFAILSAFE",
|
||||
"RUNAWAY",
|
||||
"THROTTLE",
|
||||
"ANGLE",
|
||||
"BOOTGRACE",
|
||||
"NOPREARM",
|
||||
"LOAD",
|
||||
"CALIB",
|
||||
"CLI",
|
||||
"CMS",
|
||||
"OSD",
|
||||
"BST",
|
||||
"MSP",
|
||||
"ARMSWITCH"
|
||||
};
|
||||
|
||||
static armingDisableFlags_e armingDisableFlags = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue