Refactor cleanup

This commit is contained in:
Krzysiek Egzmont
2023-11-30 23:54:26 +01:00
parent 292e2e7e7e
commit c341570838
10 changed files with 358 additions and 472 deletions

View File

@@ -117,9 +117,6 @@ const t_menu_item MenuList[] =
#ifdef ENABLE_AM_FIX
{"AM Fix", VOICE_ID_INVALID, MENU_AM_FIX },
#endif
#ifdef ENABLE_AM_FIX_TEST1
{"AM FT1", VOICE_ID_INVALID, MENU_AM_FIX_TEST1 },
#endif
#ifdef ENABLE_VOX
{"VOX", VOICE_ID_VOX, MENU_VOX },
#endif
@@ -309,16 +306,6 @@ const char gSubMenu_RX_TX[][6] =
"TX/RX"
};
#ifdef ENABLE_AM_FIX_TEST1
const char gSubMenu_AM_fix_test1[][8] =
{
"LNA-S 0",
"LNA-S 1",
"LNA-S 2",
"LNA-S 3"
};
#endif
const char gSubMenu_BAT_TXT[][8] =
{
"NONE",
@@ -611,13 +598,6 @@ void UI_DisplayMenu(void)
strcpy(String, gModulationStr[gSubMenuSelection]);
break;
#ifdef ENABLE_AM_FIX_TEST1
case MENU_AM_FIX_TEST1:
strcpy(String, gSubMenu_AM_fix_test1[gSubMenuSelection]);
// gSetting_AM_fix = gSubMenuSelection;
break;
#endif
case MENU_AUTOLK:
strcpy(String, (gSubMenuSelection == 0) ? "OFF" : "AUTO");
break;