1
0
Fork 0
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:
jflyper 2017-04-02 22:42:35 +09:00
parent 3df4a84c1c
commit 5d92b62393
2 changed files with 34 additions and 19 deletions

View file

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