P25 -- NAC/CC Minor Annoyance Fix;

This commit is contained in:
lwvmobile 2023-09-25 16:40:52 -04:00
parent e2fbece993
commit 1667019662
1 changed files with 2 additions and 1 deletions

View File

@ -403,7 +403,8 @@ processFrame (dsd_opts * opts, dsd_state * state)
if (new_nac != state->nac) {
// NAC fixed by error correction
state->nac = new_nac;
if (state->p2_hardset == 0 && new_nac != 0)
//apparently, both 0 and 0xFFF can the BCH code on signal drop
if (state->p2_hardset == 0 && new_nac != 0 & new_nac != 0xFFF)
{
state->p2_cc = new_nac;
}