mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
Add CMS failsafe setup menu
Located under the Features top-level menu. Allows configuring the failsafe procedure (like selecting GPS-RESCUE if applicable). Bounded with `#ifdef USE_CMS_FAILSAFE_MENU` so it can be disabled for space critical targets.
This commit is contained in:
parent
d76807fd33
commit
330d93eb5b
8 changed files with 134 additions and 1 deletions
|
@ -47,6 +47,7 @@
|
|||
#include "cms/cms_menu_ledstrip.h"
|
||||
#include "cms/cms_menu_misc.h"
|
||||
#include "cms/cms_menu_power.h"
|
||||
#include "cms/cms_menu_failsafe.h"
|
||||
|
||||
// VTX supplied menus
|
||||
|
||||
|
@ -120,6 +121,9 @@ static OSD_Entry menuFeaturesEntries[] =
|
|||
{"LED STRIP", OME_Submenu, cmsMenuChange, &cmsx_menuLedstrip, 0},
|
||||
#endif // LED_STRIP
|
||||
{"POWER", OME_Submenu, cmsMenuChange, &cmsx_menuPower, 0},
|
||||
#ifdef USE_CMS_FAILSAFE_MENU
|
||||
{"FAILSAFE", OME_Submenu, cmsMenuChange, &cmsx_menuFailsafe, 0},
|
||||
#endif
|
||||
{"BACK", OME_Back, NULL, NULL, 0},
|
||||
{NULL, OME_END, NULL, NULL, 0}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue