From f7c25b482d34827c320473fe4b5c55ca91fb5127 Mon Sep 17 00:00:00 2001 From: Krzysiek Egzmont Date: Sun, 29 Oct 2023 22:26:48 +0100 Subject: [PATCH] FIX #55: Broken DTMF calling (D Decd) --- app/app.c | 2 +- app/generic.c | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/app/app.c b/app/app.c index 0c6cbf9..1cc5155 100644 --- a/app/app.c +++ b/app/app.c @@ -240,8 +240,8 @@ static void HandleIncoming(void) gUpdateStatus = true; gUpdateDisplay = true; - return; } + return; } } } diff --git a/app/generic.c b/app/generic.c index db64af4..30f4f55 100644 --- a/app/generic.c +++ b/app/generic.c @@ -212,21 +212,12 @@ void GENERIC_Key_PTT(bool bKeyPressed) if (gDTMF_InputBox_Index < sizeof(gDTMF_InputBox)) gDTMF_InputBox[gDTMF_InputBox_Index] = 0; // NULL term the string - #if 0 - // append our DTMF ID to the inputted DTMF code - - // IF the user inputted code is exactly 3 digits long - if (gDTMF_InputBox_Index == 3) - gDTMF_CallMode = DTMF_CheckGroupCall(gDTMF_InputBox, 3); - else - gDTMF_CallMode = DTMF_CALL_MODE_DTMF; - #else // append our DTMF ID to the inputted DTMF code - // IF the user inputted code is exactly 3 digits long and D-DCD is enabled if (gDTMF_InputBox_Index == 3 && gTxVfo->DTMF_DECODING_ENABLE > 0) gDTMF_CallMode = DTMF_CheckGroupCall(gDTMF_InputBox, 3); else gDTMF_CallMode = DTMF_CALL_MODE_DTMF; - #endif // remember the DTMF string gDTMF_PreviousIndex = gDTMF_InputBox_Index;