Skip to content

Commit

Permalink
Prohibit entering submenus when displaying DTMF information
Browse files Browse the repository at this point in the history
  • Loading branch information
losehu authored and egzumer committed Jan 12, 2024
1 parent 9472bbb commit 4efabfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,8 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
if (UI_MENU_GetCurrentMenuId() != MENU_SCR)
gAnotherVoiceID = MenuList[gMenuCursor].voice_id;
#endif

if (UI_MENU_GetCurrentMenuId() == MENU_ANI_ID || UI_MENU_GetCurrentMenuId() == MENU_UPCODE|| UI_MENU_GetCurrentMenuId() == MENU_DWCODE)
return;
#if 1
if (UI_MENU_GetCurrentMenuId() == MENU_DEL_CH || UI_MENU_GetCurrentMenuId() == MENU_MEM_NAME)
if (!RADIO_CheckValidChannel(gSubMenuSelection, false, 0))
Expand Down

0 comments on commit 4efabfc

Please sign in to comment.