1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Add arming disabled reasons to OSD

This commit is contained in:
Dan Nixon 2017-07-02 11:24:41 +01:00
parent 1d5145b869
commit dbbe79a9f4
6 changed files with 30 additions and 18 deletions

View file

@ -29,6 +29,13 @@ uint16_t flightModeFlags = 0;
static uint32_t enabledSensors = 0;
#if defined(OSD) || !defined(MINIMAL_CLI)
const char *armingDisableFlagNames[]= {
"NOGYRO", "FAILSAFE", "BOXFAILSAFE", "THROTTLE",
"ANGLE", "LOAD", "CALIB", "CLI", "CMS", "OSD", "BST"
};
#endif
static armingDisableFlags_e armingDisableFlags = 0;
void setArmingDisabled(armingDisableFlags_e flag)