mirror of
https://github.com/kamilsss655/uv-k5-firmware-custom
synced 2024-11-22 02:08:48 +00:00
Menu STE removed - now its always on.
This commit is contained in:
parent
ae1499f6e4
commit
b5f06379a4
@ -338,7 +338,6 @@ static void HandleReceive(void)
|
||||
if (!gEndOfRxDetectedMaybe &&
|
||||
Mode == END_OF_RX_MODE_SKIP &&
|
||||
gNextTimeslice40ms &&
|
||||
gEeprom.TAIL_TONE_ELIMINATION &&
|
||||
(gCurrentCodeType == CODE_TYPE_DIGITAL || gCurrentCodeType == CODE_TYPE_REVERSE_DIGITAL) &&
|
||||
BK4819_GetCTCType() == 1)
|
||||
Mode = END_OF_RX_MODE_TTE;
|
||||
@ -382,15 +381,12 @@ Skip:
|
||||
break;
|
||||
|
||||
case END_OF_RX_MODE_TTE:
|
||||
if (gEeprom.TAIL_TONE_ELIMINATION)
|
||||
{
|
||||
AUDIO_AudioPathOff();
|
||||
|
||||
gTailNoteEliminationCountdown_10ms = 20;
|
||||
gFlagTailNoteEliminationComplete = false;
|
||||
gEndOfRxDetectedMaybe = true;
|
||||
gEnableSpeaker = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -232,7 +232,6 @@ int MENU_GetLimits(uint8_t menu_id, int32_t *pMin, int32_t *pMax)
|
||||
case MENU_AUTOLK:
|
||||
case MENU_S_ADD1:
|
||||
case MENU_S_ADD2:
|
||||
case MENU_STE:
|
||||
case MENU_D_ST:
|
||||
#ifdef ENABLE_DTMF_CALLING
|
||||
case MENU_D_DCD:
|
||||
@ -622,10 +621,6 @@ void MENU_AcceptSetting(void)
|
||||
gFlagResetVfos = true;
|
||||
return;
|
||||
|
||||
case MENU_STE:
|
||||
gEeprom.TAIL_TONE_ELIMINATION = gSubMenuSelection;
|
||||
break;
|
||||
|
||||
case MENU_RP_STE:
|
||||
gEeprom.REPEATER_TAIL_TONE_ELIMINATION = gSubMenuSelection;
|
||||
break;
|
||||
@ -1016,10 +1011,6 @@ void MENU_ShowCurrentSetting(void)
|
||||
gSubMenuSelection = gTxVfo->SCANLIST2_PARTICIPATION;
|
||||
break;
|
||||
|
||||
case MENU_STE:
|
||||
gSubMenuSelection = gEeprom.TAIL_TONE_ELIMINATION;
|
||||
break;
|
||||
|
||||
case MENU_RP_STE:
|
||||
gSubMenuSelection = gEeprom.REPEATER_TAIL_TONE_ELIMINATION;
|
||||
break;
|
||||
|
2
board.c
2
board.c
@ -546,7 +546,6 @@ void BOARD_EEPROM_Init(void)
|
||||
gEeprom.BATTERY_SAVE = (Data[3] < 5) ? Data[3] : 4;
|
||||
gEeprom.DUAL_WATCH = (Data[4] < 3) ? Data[4] : DUAL_WATCH_CHAN_A;
|
||||
gEeprom.BACKLIGHT_TIME = (Data[5] < ARRAY_SIZE(gSubMenu_BACKLIGHT)) ? Data[5] : 3;
|
||||
gEeprom.TAIL_TONE_ELIMINATION = (Data[6] < 2) ? Data[6] : false;
|
||||
gEeprom.VFO_OPEN = (Data[7] < 2) ? Data[7] : true;
|
||||
|
||||
// 0E80..0E87
|
||||
@ -601,7 +600,6 @@ void BOARD_EEPROM_Init(void)
|
||||
gEeprom.ALARM_MODE = (Data[0] < 2) ? Data[0] : true;
|
||||
#endif
|
||||
gEeprom.ROGER = (Data[1] < 3) ? Data[1] : ROGER_MODE_OFF;
|
||||
gEeprom.REPEATER_TAIL_TONE_ELIMINATION = (Data[2] < 11) ? Data[2] : 0;
|
||||
gEeprom.TX_VFO = (Data[3] < 2) ? Data[3] : 0;
|
||||
gEeprom.BATTERY_TYPE = (Data[4] < BATTERY_TYPE_UNKNOWN) ? Data[4] : BATTERY_TYPE_1600_MAH;
|
||||
|
||||
|
1
docs/.~lock.UV K5 EEPROM.xlsx#
Normal file
1
docs/.~lock.UV K5 EEPROM.xlsx#
Normal file
@ -0,0 +1 @@
|
||||
,nunu,t490s,15.01.2024 19:17,file:///home/nunu/.config/libreoffice/4;
|
Binary file not shown.
@ -78,7 +78,6 @@ void SETTINGS_SaveSettings(void)
|
||||
State[3] = gEeprom.BATTERY_SAVE;
|
||||
State[4] = gEeprom.DUAL_WATCH;
|
||||
State[5] = gEeprom.BACKLIGHT_TIME;
|
||||
State[6] = gEeprom.TAIL_TONE_ELIMINATION;
|
||||
State[7] = gEeprom.VFO_OPEN;
|
||||
EEPROM_WriteBuffer(0x0E78, State, true);
|
||||
|
||||
|
@ -173,7 +173,6 @@ typedef struct {
|
||||
#endif
|
||||
bool BEEP_CONTROL;
|
||||
uint8_t CHANNEL_DISPLAY_MODE;
|
||||
bool TAIL_TONE_ELIMINATION;
|
||||
bool VFO_OPEN;
|
||||
uint8_t DUAL_WATCH;
|
||||
uint8_t CROSS_BAND_RX_TX;
|
||||
|
@ -84,7 +84,6 @@ const t_menu_item MenuList[] =
|
||||
{"Voice", VOICE_ID_VOICE_PROMPT, MENU_VOICE },
|
||||
#endif
|
||||
{"Roger", VOICE_ID_INVALID, MENU_ROGER },
|
||||
{"STE", VOICE_ID_INVALID, MENU_STE },
|
||||
{"RP STE", VOICE_ID_INVALID, MENU_RP_STE },
|
||||
{"SqTone", VOICE_ID_INVALID, MENU_SQL_TONE }, // squelch tail tone used for RX/TX
|
||||
{"1 Call", VOICE_ID_INVALID, MENU_1_CALL },
|
||||
@ -649,7 +648,6 @@ void UI_DisplayMenu(void)
|
||||
case MENU_BEEP:
|
||||
case MENU_S_ADD1:
|
||||
case MENU_S_ADD2:
|
||||
case MENU_STE:
|
||||
case MENU_D_ST:
|
||||
#ifdef ENABLE_DTMF_CALLING
|
||||
case MENU_D_DCD:
|
||||
|
Loading…
Reference in New Issue
Block a user