From bed766a86e5a99b98d8cb0b0f7e00e176c530e85 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Tue, 19 Mar 2024 09:34:10 -0400 Subject: [PATCH] EDACS: STD/NET Don't Tune Unless CC LCN Set; --- src/edacs-fme.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/edacs-fme.c b/src/edacs-fme.c index 2dbd818..8ed2632 100644 --- a/src/edacs-fme.c +++ b/src/edacs-fme.c @@ -923,14 +923,10 @@ void edacs(dsd_opts * opts, dsd_state * state) // goto ENDPV; // #endif - - - - //this is working now with the new import setup if (opts->trunk_tune_group_calls == 1 && opts->p25_trunk == 1 && (strcmp(mode, "DE") != 0) && (strcmp(mode, "B") != 0) ) //DE is digital encrypted, B is block { - if (lcn < 26 && state->trunk_lcn_freq[lcn-1] != 0) //don't tune if zero (not loaded or otherwise) + if (lcn < 26 && state->edacs_cc_lcn != 0 && state->trunk_lcn_freq[lcn-1] != 0) //don't tune if zero (not loaded or otherwise) { //openwav file and do per call right here if (opts->dmr_stereo_wav == 1 && (opts->use_rigctl == 1 || opts->audio_in_type == 3))