0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 06:39:49 +03:00

DTMF adjustments

This commit is contained in:
OneOfEleven
2023-09-18 00:48:40 +01:00
parent 66afde980a
commit 6cdd8f35b1
16 changed files with 278 additions and 111 deletions

View File

@ -432,10 +432,17 @@ void UI_DisplayMain(void)
if (gEeprom.VfoInfo[vfo_num].FrequencyReverse)
UI_PrintStringSmall("R", display_width + 62, 0, Line + 1);
// show the narrow band symbol
if (gEeprom.VfoInfo[vfo_num].CHANNEL_BANDWIDTH == BANDWIDTH_NARROW)
UI_PrintStringSmall("N", display_width + 70, 0, Line + 1);
{ // show the narrow band symbol
String[0] = '?';
switch (gEeprom.VfoInfo[vfo_num].CHANNEL_BANDWIDTH)
{
case BANDWIDTH_WIDE: String[0] = 'W'; break;
case BANDWIDTH_NARROW: String[0] = 'N'; break;
}
String[1] = '\0';
UI_PrintStringSmall(String, display_width + 70, 0, Line + 1);
}
// show the DTMF decoding symbol
if (gEeprom.VfoInfo[vfo_num].DTMF_DECODING_ENABLE || gSetting_KILLED)
UI_PrintStringSmall("DTMF", display_width + 78, 0, Line + 1);

View File

@ -41,13 +41,13 @@ const char MenuList[][7] =
{
"SQL",
"STEP",
"TXPWR", // was "TXP"
"RXDCS", // was "R_DCS"
"RXCTCS", // was "R_CTCS"
"TXDCS", // was "T_DCS"
"TXCTCS", // was "T_CTCS"
"TXDIR", // was "SFT_D"
"TXOFFS", // was "OFFSET"
"T-PWR", // was "TXP"
"R-DCS", // was "R_DCS"
"R-CTCS", // was "R_CTCS"
"T-DCS", // was "T_DCS"
"T-CTCS", // was "T_CTCS"
"T-DIR", // was "SFT_D"
"T-OFFS", // was "OFFSET"
"W/N",
"SCRAM", // was "SCR"
"BUSYCL", // was "BCL"
@ -56,9 +56,9 @@ const char MenuList[][7] =
"VOX",
"BACKLT", // was "ABR"
"DUALRX", // was "TDR"
"TXVFO", // was "WX"
"T-VFO", // was "WX"
"BEEP",
"TXTOUT", // was "TOT"
"T-TOUT", // was "TOT"
#ifdef ENABLE_VOICE
"VOICE",
#endif
@ -100,13 +100,13 @@ const char MenuList[][7] =
"MEMDEL", // was "Del-CH"
"RESET",
// normally hidden menu items from here on.
// enabled if pressing PTT and side button below PTT at power-on.
// hidden menu items from here on.
// enabled if pressing PTT and upper side button at power-on.
"350-TX", // was "350TX"
"F-LOCK",
"200-TX", // was "200TX"
"500-TX", // was "500TX"
"T-200", // was "200TX"
"T-350", // was "350TX"
"T-500", // was "500TX"
"350-EN", // was "350EN"
"SCR-EN", // was "SCREN"

View File

@ -83,11 +83,11 @@ enum
MENU_DEL_CH,
MENU_RESET,
// items after here are normally hidden
// items after here are hidden
MENU_350TX,
MENU_F_LOCK,
MENU_200TX,
MENU_350TX,
MENU_500TX,
MENU_350EN,
MENU_SCREN,