1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Remove almost entirely unused CMS ononGlobalExit function

This commit is contained in:
Martin Budden 2017-11-09 17:40:52 +00:00
parent 9a5cefbfa3
commit 9a9884e4af
12 changed files with 3 additions and 39 deletions

View file

@ -186,11 +186,6 @@ static long cmsx_Blackbox_onExit(const OSD_Entry *self)
return 0;
}
static long cmsx_Blackbox_FeatureWriteback(void)
{
return 0;
}
static OSD_Entry cmsx_menuBlackboxEntries[] =
{
{ "-- BLACKBOX --", OME_Label, NULL, NULL, 0},
@ -213,7 +208,6 @@ CMS_Menu cmsx_menuBlackbox = {
.GUARD_type = OME_MENU,
.onEnter = cmsx_Blackbox_onEnter,
.onExit = cmsx_Blackbox_onExit,
.onGlobalExit = cmsx_Blackbox_FeatureWriteback,
.entries = cmsx_menuBlackboxEntries
};