mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Refactoring
This commit is contained in:
parent
adeb53c726
commit
400faee588
31 changed files with 491 additions and 950 deletions
|
@ -231,7 +231,7 @@ void guiMain(evt_t evt)
|
|||
popupDisplayed = lcdRestoreBackupBuffer();
|
||||
if (warn) DISPLAY_WARNING(evt);
|
||||
if (menu) {
|
||||
const char * result = displayPopupMenu(evt);
|
||||
const char * result = runPopupMenu(evt);
|
||||
if (result) {
|
||||
popupMenuHandler(result);
|
||||
if (menuEvent == 0) {
|
||||
|
@ -376,7 +376,7 @@ void guiMain(evt_t evt)
|
|||
TRACE("Popup Menu started");
|
||||
inPopupMenu = true;
|
||||
}
|
||||
const char * result = displayPopupMenu(evt);
|
||||
const char * result = runPopupMenu(evt);
|
||||
if (result) {
|
||||
TRACE("popupMenuHandler(%s)", result);
|
||||
popupMenuHandler(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue