Save 12 bytes
This commit is contained in:
20
ui/menu.c
20
ui/menu.c
@@ -352,15 +352,15 @@ const char gSubMenu_SCRAMBLER[][7] =
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_FEAT_F4HWN
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
const char gSubMenu_SET_PWR[][7] =
|
const char gSubMenu_SET_PWR[][6] =
|
||||||
{
|
{
|
||||||
"< 20mW",
|
"< 20m",
|
||||||
"125mW",
|
"125m",
|
||||||
"250mW",
|
"250m",
|
||||||
"500mW",
|
"500m",
|
||||||
"1W",
|
"1",
|
||||||
"2W",
|
"2",
|
||||||
"5W"
|
"5"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char gSubMenu_SET_PTT[][8] =
|
const char gSubMenu_SET_PTT[][8] =
|
||||||
@@ -598,7 +598,7 @@ void UI_DisplayMenu(void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sprintf(String, "%s\n%s", gSubMenu_TXP[gSubMenuSelection], gSubMenu_SET_PWR[gSubMenuSelection - 1]);
|
sprintf(String, "%s\n%sW", gSubMenu_TXP[gSubMenuSelection], gSubMenu_SET_PWR[gSubMenuSelection - 1]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -962,7 +962,7 @@ void UI_DisplayMenu(void)
|
|||||||
|
|
||||||
#ifdef ENABLE_FEAT_F4HWN
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
case MENU_SET_PWR:
|
case MENU_SET_PWR:
|
||||||
sprintf(String, "%s\n%s", gSubMenu_TXP[gSubMenuSelection + 1], gSubMenu_SET_PWR[gSubMenuSelection ]);
|
sprintf(String, "%s\n%sW", gSubMenu_TXP[gSubMenuSelection + 1], gSubMenu_SET_PWR[gSubMenuSelection]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_SET_PTT:
|
case MENU_SET_PTT:
|
||||||
|
@@ -166,7 +166,7 @@ extern const char gSubMenu_D_RSP[4][11];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_FEAT_F4HWN
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
extern const char gSubMenu_SET_PWR[7][7];
|
extern const char gSubMenu_SET_PWR[7][6];
|
||||||
extern const char gSubMenu_SET_PTT[2][8];
|
extern const char gSubMenu_SET_PTT[2][8];
|
||||||
extern const char gSubMenu_SET_TOT[4][7];
|
extern const char gSubMenu_SET_TOT[4][7];
|
||||||
extern const char gSubMenu_SET_LCK[2][9];
|
extern const char gSubMenu_SET_LCK[2][9];
|
||||||
|
Reference in New Issue
Block a user