1
0
Fork 0
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:
Scavanger 2019-01-20 20:46:23 +01:00
parent c7b2260645
commit dd30009925
4 changed files with 12 additions and 15 deletions

View file

@ -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);
}