1
0
Fork 0
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:
mikeller 2018-02-23 00:46:16 +13:00 committed by Michael Keller
parent 9d7c8fbd46
commit c89f87018b
3 changed files with 32 additions and 11 deletions

View file

@ -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;