mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
"Fullscreen" mode for displayports.
This commit is contained in:
parent
c7b2260645
commit
dd30009925
4 changed files with 12 additions and 15 deletions
|
@ -725,6 +725,13 @@ void cmsMenuOpen(void)
|
|||
maxMenuItems = pCurrentDisplay->rows - 2;
|
||||
}
|
||||
|
||||
if (pCurrentDisplay->useFullscreen)
|
||||
{
|
||||
leftMenuColumn = 0;
|
||||
rightMenuColumn = pCurrentDisplay->cols;
|
||||
maxMenuItems = pCurrentDisplay->rows;
|
||||
}
|
||||
|
||||
cmsMenuChange(pCurrentDisplay, currentCtx.menu);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue