mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Resurrect multi-display cycling
This commit is contained in:
parent
3df4a84c1c
commit
5d92b62393
2 changed files with 34 additions and 19 deletions
|
@ -629,6 +629,11 @@ STATIC_UNIT_TESTED uint16_t cmsHandleKey(displayPort_t *pDisplay, uint8_t key)
|
|||
if (!currentMenu)
|
||||
return res;
|
||||
|
||||
if (key == KEY_MENU) {
|
||||
cmsMenuOpen();
|
||||
return BUTTON_PAUSE;
|
||||
}
|
||||
|
||||
if (key == KEY_ESC) {
|
||||
cmsMenuBack(pDisplay);
|
||||
return BUTTON_PAUSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue