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:
commit
8548189bc6
15 changed files with 305 additions and 49 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue