NXDN -- TG Hold Support for Type-D; #132
This commit is contained in:
parent
e1348b838b
commit
a6bb5ed28d
|
|
@ -1431,6 +1431,14 @@ void NXDN_decode_scch(dsd_opts * opts, dsd_state * state, uint8_t * Message, uin
|
|||
}
|
||||
}
|
||||
|
||||
//TG hold on IDAS -- block non-matching target, allow matching DestinationID
|
||||
if (state->tg_hold != 0 && state->tg_hold != id) sprintf (mode, "%s", "B");
|
||||
if (state->tg_hold != 0 && state->tg_hold == id)
|
||||
{
|
||||
sprintf (mode, "%s", "A");
|
||||
opts->p25_is_tuned = 0; //unlock tuner at this stage and not above check
|
||||
}
|
||||
|
||||
long int freq = 0;
|
||||
freq = nxdn_channel_to_frequency(opts, state, rep1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue