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:
commit
364afcbf25
12 changed files with 3 additions and 39 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue