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

Merge pull request #4520 from martinbudden/bf_cms_guards

Removed CMS menu guards when not debugging
This commit is contained in:
Michael Keller 2017-11-10 10:34:43 +13:00 committed by GitHub
commit b90f7bd88e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 58 additions and 1 deletions

View file

@ -199,8 +199,10 @@ static OSD_Entry trampCmsMenuCommenceEntries[] = {
};
static CMS_Menu trampCmsMenuCommence = {
#ifdef CMS_MENU_DEBUG
.GUARD_text = "XVTXTRC",
.GUARD_type = OME_MENU,
#endif
.onEnter = NULL,
.onExit = NULL,
.onGlobalExit = NULL,
@ -225,8 +227,10 @@ static OSD_Entry trampMenuEntries[] =
};
CMS_Menu cmsx_menuVtxTramp = {
#ifdef CMS_MENU_DEBUG
.GUARD_text = "XVTXTR",
.GUARD_type = OME_MENU,
#endif
.onEnter = trampCmsOnEnter,
.onExit = NULL,
.onGlobalExit = NULL,