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

Removed CMS menu guards when not debugging

This commit is contained in:
Martin Budden 2017-11-09 16:12:54 +00:00
parent 9a5cefbfa3
commit 243e8390a2
11 changed files with 58 additions and 1 deletions

View file

@ -191,8 +191,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,
@ -217,8 +219,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,