1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

Refactoring

This commit is contained in:
Bertrand Songis 2016-08-01 20:25:07 +02:00
parent adeb53c726
commit 400faee588
31 changed files with 491 additions and 950 deletions

View file

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