FIX #444: build error when ENABLE_DTMF_CALLING disabled
This commit is contained in:
@@ -1404,7 +1404,12 @@ static void MENU_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
|
|||||||
if (UI_MENU_GetCurrentMenuId() != MENU_SCR)
|
if (UI_MENU_GetCurrentMenuId() != MENU_SCR)
|
||||||
gAnotherVoiceID = MenuList[gMenuCursor].voice_id;
|
gAnotherVoiceID = MenuList[gMenuCursor].voice_id;
|
||||||
#endif
|
#endif
|
||||||
if (UI_MENU_GetCurrentMenuId() == MENU_ANI_ID || UI_MENU_GetCurrentMenuId() == MENU_UPCODE|| UI_MENU_GetCurrentMenuId() == MENU_DWCODE)
|
if (UI_MENU_GetCurrentMenuId() == MENU_UPCODE
|
||||||
|
|| UI_MENU_GetCurrentMenuId() == MENU_DWCODE
|
||||||
|
#ifdef ENABLE_DTMF_CALLING
|
||||||
|
|| UI_MENU_GetCurrentMenuId() == MENU_ANI_ID
|
||||||
|
#endif
|
||||||
|
)
|
||||||
return;
|
return;
|
||||||
#if 1
|
#if 1
|
||||||
if (UI_MENU_GetCurrentMenuId() == MENU_DEL_CH || UI_MENU_GetCurrentMenuId() == MENU_MEM_NAME)
|
if (UI_MENU_GetCurrentMenuId() == MENU_DEL_CH || UI_MENU_GetCurrentMenuId() == MENU_MEM_NAME)
|
||||||
|
Reference in New Issue
Block a user