1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 01:05:10 +03:00

Another big refactoring

This commit is contained in:
Bertrand Songis 2016-08-02 18:35:00 +02:00
parent 52435703a0
commit 7fbd963b3f
140 changed files with 1311 additions and 1292 deletions

View file

@ -411,12 +411,12 @@ void displaySwitch(coord_t x, coord_t y, int width, unsigned int index)
}
const MenuItem MAIN_MENU[] = {
{ "RADIO SETTINGS", menuGeneralSetup },
{ "RADIO SETTINGS", menuRadioSetup },
{ "MODEL SELECT", menuModelSelect },
{ "MODEL SETTINGS", menuModelSetup },
{ "CHECKLIST", menuModelNotes },
{ "SD MANAGER", menuGeneralSdManager },
{ "VERSION", menuGeneralVersion }
{ "SD MANAGER", menuRadioSdManager },
{ "VERSION", menuRadioVersion }
};
bool isMenuAvailable(int index)
@ -473,7 +473,7 @@ void menuMainView(uint8_t event)
break;
case EVT_KEY_LONG(KEY_MENU):
pushMenu(menuGeneralSetup);
pushMenu(menuRadioSetup);
killEvents(event);
break;
#endif
@ -489,7 +489,7 @@ void menuMainView(uint8_t event)
case EVT_KEY_LONG(KEY_PAGE):
if (!IS_FAI_ENABLED())
chainMenu(menuTelemetryFrsky);
chainMenu(menuViewTelemetryFrsky);
killEvents(event);
break;