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:
commit
b90f7bd88e
11 changed files with 58 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue