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

Merge pull request #4521 from martinbudden/bf_cms_onglobalexit

Remove almost entirely unused CMS ononGlobalExit function
This commit is contained in:
Michael Keller 2017-11-10 10:35:13 +13:00 committed by GitHub
commit 364afcbf25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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},
@ -215,7 +210,6 @@ CMS_Menu cmsx_menuBlackbox = {
#endif
.onEnter = cmsx_Blackbox_onEnter,
.onExit = cmsx_Blackbox_onExit,
.onGlobalExit = cmsx_Blackbox_FeatureWriteback,
.entries = cmsx_menuBlackboxEntries
};