1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Removed 'checkRedirect' and references to it.

This commit is contained in:
Michael Keller 2019-11-26 15:30:39 +13:00 committed by mikeller
parent 95791fc293
commit 140bb22b88
18 changed files with 0 additions and 46 deletions

View file

@ -669,13 +669,6 @@ long cmsMenuChange(displayPort_t *pDisplay, const void *ptr)
return 0;
}
if (pMenu->checkRedirect) {
const CMS_Menu *pRedirectMenu = (const CMS_Menu *)pMenu->checkRedirect();
if (pRedirectMenu) {
return cmsMenuChange(pDisplay, pRedirectMenu);
}
}
menuStack[menuStackIdx++] = currentCtx;
currentCtx.menu = pMenu;