mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
Made inclusion of CMS guard conditional on debug flag
This commit is contained in:
parent
1833bfd374
commit
a8efd77d73
11 changed files with 66 additions and 3 deletions
|
@ -71,8 +71,10 @@ static OSD_Entry cmsx_menuRcEntries[] =
|
|||
};
|
||||
|
||||
CMS_Menu cmsx_menuRcPreview = {
|
||||
#ifdef CMS_MENU_DEBUG
|
||||
.GUARD_text = "XRCPREV",
|
||||
.GUARD_type = OME_MENU,
|
||||
#endif
|
||||
.onEnter = NULL,
|
||||
.onExit = cmsx_menuRcConfirmBack,
|
||||
.onGlobalExit = NULL,
|
||||
|
@ -96,8 +98,10 @@ static OSD_Entry menuMiscEntries[]=
|
|||
};
|
||||
|
||||
CMS_Menu cmsx_menuMisc = {
|
||||
#ifdef CMS_MENU_DEBUG
|
||||
.GUARD_text = "XMISC",
|
||||
.GUARD_type = OME_MENU,
|
||||
#endif
|
||||
.onEnter = NULL,
|
||||
.onExit = NULL,
|
||||
.onGlobalExit = NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue