mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15: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
|
@ -167,7 +167,6 @@ static CMS_Menu cmsx_menuPid = {
|
|||
#endif
|
||||
.onEnter = cmsx_PidOnEnter,
|
||||
.onExit = cmsx_PidWriteback,
|
||||
.onGlobalExit = NULL,
|
||||
.entries = cmsx_menuPidEntries
|
||||
};
|
||||
|
||||
|
@ -230,7 +229,6 @@ static CMS_Menu cmsx_menuRateProfile = {
|
|||
#endif
|
||||
.onEnter = cmsx_RateProfileOnEnter,
|
||||
.onExit = cmsx_RateProfileWriteback,
|
||||
.onGlobalExit = NULL,
|
||||
.entries = cmsx_menuRateProfileEntries
|
||||
};
|
||||
|
||||
|
@ -301,7 +299,6 @@ static CMS_Menu cmsx_menuProfileOther = {
|
|||
#endif
|
||||
.onEnter = cmsx_profileOtherOnEnter,
|
||||
.onExit = cmsx_profileOtherOnExit,
|
||||
.onGlobalExit = NULL,
|
||||
.entries = cmsx_menuProfileOtherEntries,
|
||||
};
|
||||
|
||||
|
@ -356,7 +353,6 @@ static CMS_Menu cmsx_menuFilterGlobal = {
|
|||
#endif
|
||||
.onEnter = cmsx_menuGyro_onEnter,
|
||||
.onExit = cmsx_menuGyro_onExit,
|
||||
.onGlobalExit = NULL,
|
||||
.entries = cmsx_menuFilterGlobalEntries,
|
||||
};
|
||||
|
||||
|
@ -409,7 +405,6 @@ static CMS_Menu cmsx_menuFilterPerProfile = {
|
|||
#endif
|
||||
.onEnter = cmsx_FilterPerProfileRead,
|
||||
.onExit = cmsx_FilterPerProfileWriteback,
|
||||
.onGlobalExit = NULL,
|
||||
.entries = cmsx_menuFilterPerProfileEntries,
|
||||
};
|
||||
|
||||
|
@ -480,7 +475,6 @@ CMS_Menu cmsx_menuCopyProfile = {
|
|||
#endif
|
||||
.onEnter = cmsx_menuCopyProfile_onEnter,
|
||||
.onExit = NULL,
|
||||
.onGlobalExit = NULL,
|
||||
.entries = cmsx_menuCopyProfileEntries,
|
||||
};
|
||||
|
||||
|
@ -514,7 +508,6 @@ CMS_Menu cmsx_menuImu = {
|
|||
#endif
|
||||
.onEnter = cmsx_menuImu_onEnter,
|
||||
.onExit = cmsx_menuImu_onExit,
|
||||
.onGlobalExit = NULL,
|
||||
.entries = cmsx_menuImuEntries,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue