From 4efabfc2b629ae89e7d716862770345af442fc08 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Thu, 11 Jan 2024 21:57:06 +0800 Subject: [PATCH] Prohibit entering submenus when displaying DTMF information --- app/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/menu.c b/app/menu.c index 5d1cf4f..6b0bac6 100644 --- a/app/menu.c +++ b/app/menu.c @@ -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))