mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 03:19:53 +03:00
Merge pull request #8946 from jarno-r/fix-9xrpro-multimodule
Fix broken External RF module menu.
This commit is contained in:
commit
7ab5585dde
1 changed files with 4 additions and 0 deletions
|
@ -85,8 +85,10 @@ enum MenuModelSetupItems {
|
|||
ITEM_MODEL_SETUP_CHECKLIST_DISPLAY,
|
||||
ITEM_MODEL_SETUP_THROTTLE_WARNING,
|
||||
ITEM_MODEL_SETUP_SWITCHES_WARNING1,
|
||||
#if defined(PCBTARANIS)
|
||||
ITEM_MODEL_SETUP_SWITCHES_WARNING2,
|
||||
ITEM_MODEL_SETUP_POTS_WARNING,
|
||||
#endif
|
||||
ITEM_MODEL_SETUP_BEEP_CENTER,
|
||||
ITEM_MODEL_SETUP_USE_GLOBAL_FUNCTIONS,
|
||||
|
||||
|
@ -743,6 +745,7 @@ void menuModelSetup(event_t event)
|
|||
g_model.disableThrottleWarning = !editCheckBox(!g_model.disableThrottleWarning, MODEL_SETUP_2ND_COLUMN, y, STR_THROTTLEWARNING, attr, event);
|
||||
break;
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
case ITEM_MODEL_SETUP_SWITCHES_WARNING2:
|
||||
if (i==0) {
|
||||
if (CURSOR_MOVED_LEFT(event))
|
||||
|
@ -751,6 +754,7 @@ void menuModelSetup(event_t event)
|
|||
menuVerticalOffset++;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
case ITEM_MODEL_SETUP_SWITCHES_WARNING1:
|
||||
#if defined(PCBTARANIS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue