mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Fixed exiting from CMS menu.
This commit is contained in:
parent
e1244af09a
commit
f2ea50faec
2 changed files with 3 additions and 2 deletions
|
@ -541,8 +541,9 @@ STATIC_UNIT_TESTED long cmsMenuBack(displayPort_t *pDisplay); // Forward; will b
|
||||||
|
|
||||||
static void cmsDrawMenu(displayPort_t *pDisplay, uint32_t currentTimeUs)
|
static void cmsDrawMenu(displayPort_t *pDisplay, uint32_t currentTimeUs)
|
||||||
{
|
{
|
||||||
if (!pageTop)
|
if (!pageTop || !cmsInMenu) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
uint8_t i;
|
uint8_t i;
|
||||||
const OSD_Entry *p;
|
const OSD_Entry *p;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue