EDACS: STD/NET Don't Tune Unless CC LCN Set;

This commit is contained in:
lwvmobile 2024-03-19 09:34:10 -04:00
parent 69f532a022
commit bed766a86e
1 changed files with 1 additions and 5 deletions

View File

@ -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))