mirror of
https://github.com/kamilsss655/uv-k5-firmware-custom
synced 2024-11-22 19:18:56 +00:00
menu: use const char* const
(cherry picked from commit fbdaf6631d
)
(cherry picked from commit 989fa9fa78b05b0e43e77f6f9d84530a871d26f9)
This commit is contained in:
parent
21a747ee84
commit
40c533bafc
@ -196,7 +196,7 @@ const char gSubMenu_TOT[][7] =
|
|||||||
"15 min"
|
"15 min"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* gSubMenu_RXMode[] =
|
const char* const gSubMenu_RXMode[] =
|
||||||
{
|
{
|
||||||
"MAIN\nONLY", // TX and RX on main only
|
"MAIN\nONLY", // TX and RX on main only
|
||||||
"DUAL RX\nRESPOND", // Watch both and respond
|
"DUAL RX\nRESPOND", // Watch both and respond
|
||||||
@ -220,7 +220,7 @@ const char gSubMenu_SC_REV[][8] =
|
|||||||
"STOP"
|
"STOP"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* gSubMenu_MDF[] =
|
const char* const gSubMenu_MDF[] =
|
||||||
{
|
{
|
||||||
"FREQ",
|
"FREQ",
|
||||||
"CHANNEL\nNUMBER",
|
"CHANNEL\nNUMBER",
|
||||||
@ -246,7 +246,7 @@ const char gSubMenu_D_RSP[][11] =
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char* gSubMenu_PTT_ID[] =
|
const char* const gSubMenu_PTT_ID[] =
|
||||||
{
|
{
|
||||||
"OFF",
|
"OFF",
|
||||||
"UP CODE",
|
"UP CODE",
|
||||||
@ -276,7 +276,7 @@ const char gSubMenu_RESET[][4] =
|
|||||||
"ALL"
|
"ALL"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char * gSubMenu_F_LOCK[] =
|
const char * const gSubMenu_F_LOCK[] =
|
||||||
{
|
{
|
||||||
"DEFAULT+\n137-174\n400-470",
|
"DEFAULT+\n137-174\n400-470",
|
||||||
"FCC HAM\n144-148\n420-450",
|
"FCC HAM\n144-148\n420-450",
|
||||||
|
@ -137,24 +137,24 @@ extern const char gSubMenu_W_N[2][7];
|
|||||||
extern const char gSubMenu_OFF_ON[2][4];
|
extern const char gSubMenu_OFF_ON[2][4];
|
||||||
extern const char gSubMenu_SAVE[5][4];
|
extern const char gSubMenu_SAVE[5][4];
|
||||||
extern const char gSubMenu_TOT[11][7];
|
extern const char gSubMenu_TOT[11][7];
|
||||||
extern const char* gSubMenu_RXMode[4];
|
extern const char* const gSubMenu_RXMode[4];
|
||||||
|
|
||||||
#ifdef ENABLE_VOICE
|
#ifdef ENABLE_VOICE
|
||||||
extern const char gSubMenu_VOICE[3][4];
|
extern const char gSubMenu_VOICE[3][4];
|
||||||
#endif
|
#endif
|
||||||
extern const char gSubMenu_SC_REV[3][8];
|
extern const char gSubMenu_SC_REV[3][8];
|
||||||
extern const char* gSubMenu_MDF[4];
|
extern const char* const gSubMenu_MDF[4];
|
||||||
#ifdef ENABLE_ALARM
|
#ifdef ENABLE_ALARM
|
||||||
extern const char gSubMenu_AL_MOD[2][5];
|
extern const char gSubMenu_AL_MOD[2][5];
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_DTMF_CALLING
|
#ifdef ENABLE_DTMF_CALLING
|
||||||
extern const char gSubMenu_D_RSP[4][11];
|
extern const char gSubMenu_D_RSP[4][11];
|
||||||
#endif
|
#endif
|
||||||
extern const char* gSubMenu_PTT_ID[5];
|
extern const char* const gSubMenu_PTT_ID[5];
|
||||||
extern const char gSubMenu_PONMSG[4][8];
|
extern const char gSubMenu_PONMSG[4][8];
|
||||||
extern const char gSubMenu_ROGER[3][6];
|
extern const char gSubMenu_ROGER[3][6];
|
||||||
extern const char gSubMenu_RESET[2][4];
|
extern const char gSubMenu_RESET[2][4];
|
||||||
extern const char* gSubMenu_F_LOCK[F_LOCK_LEN];
|
extern const char* const gSubMenu_F_LOCK[F_LOCK_LEN];
|
||||||
extern const char gSubMenu_BACKLIGHT[8][7];
|
extern const char gSubMenu_BACKLIGHT[8][7];
|
||||||
extern const char gSubMenu_RX_TX[4][6];
|
extern const char gSubMenu_RX_TX[4][6];
|
||||||
extern const char gSubMenu_BAT_TXT[3][8];
|
extern const char gSubMenu_BAT_TXT[3][8];
|
||||||
|
Loading…
Reference in New Issue
Block a user