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

Add OSD background support for the static portions of display e… (#9129)

Add OSD background support for the static portions of display elements
This commit is contained in:
Michael Keller 2019-10-31 00:10:01 +13:00 committed by GitHub
commit 8548189bc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 305 additions and 49 deletions

View file

@ -720,6 +720,7 @@ void cmsMenuOpen(void)
currentCtx = (cmsCtx_t){ &menuMain, 0, 0 };
menuStackIdx = 0;
setArmingDisabled(ARMING_DISABLED_CMS_MENU);
displayLayerSelect(pCurrentDisplay, DISPLAYPORT_LAYER_FOREGROUND); // make sure the foreground layer is active
} else {
// Switch display
displayPort_t *pNextDisplay = cmsDisplayPortSelectNext();