P25 -- TG Hold Support; #132

This commit is contained in:
lwvmobile
2023-10-05 10:13:39 -04:00
parent cdcdc106ef
commit 241cc05f80
4 changed files with 91 additions and 1 deletions

View File

@@ -214,6 +214,10 @@ void processTSBK(dsd_opts * opts, dsd_state * state)
}
}
//TG hold on MFID90 GRG -- block non-matching target, allow matching group
if (state->tg_hold != 0 && state->tg_hold != group) sprintf (mode, "%s", "B");
if (state->tg_hold != 0 && state->tg_hold == group) sprintf (mode, "%s", "A");
//Skip tuning group calls if group calls are disabled
if (opts->trunk_tune_group_calls == 0) goto SKIPCALL;
@@ -309,6 +313,9 @@ void processTSBK(dsd_opts * opts, dsd_state * state)
}
}
//TG hold on MFID90 GRG -- block non-matching target, allow matching group
if (state->tg_hold != 0 && state->tg_hold != tempg) sprintf (mode, "%s", "B");
if (state->tg_hold != 0 && state->tg_hold == tempg) sprintf (mode, "%s", "A");
//Skip tuning group calls if group calls are disabled
if (opts->trunk_tune_group_calls == 0) goto SKIPCALL;