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

Added 30 sec TX timeout option

This commit is contained in:
OneOfEleven
2023-09-28 17:39:45 +01:00
parent 81bc398908
commit 618d6962ff
14 changed files with 105 additions and 67 deletions

View File

@ -214,8 +214,12 @@ int MENU_GetLimits(uint8_t Cursor, int32_t *pMin, int32_t *pMax)
*pMax = ARRAY_SIZE(gSubMenu_SCRAMBLER) - 1;
break;
case MENU_VOX:
case MENU_TOT:
*pMin = 0;
*pMax = ARRAY_SIZE(gSubMenu_TOT) - 1;
break;
case MENU_VOX:
case MENU_RP_STE:
*pMin = 0;
*pMax = 10;
@ -317,13 +321,12 @@ void MENU_AcceptSetting(void)
break;
case MENU_STEP:
gTxVfo->STEP_SETTING = gSubMenuSelection;
if (IS_FREQ_CHANNEL(gTxVfo->CHANNEL_SAVE))
{
gTxVfo->STEP_SETTING = gSubMenuSelection;
gRequestSaveChannel = 1;
gRequestSaveChannel = 1;
return;
}
gTxVfo->STEP_SETTING = gSubMenuSelection;
return;
case MENU_TXP: