P25 -- Fix Minor Annoyance, Take 2;

This commit is contained in:
lwvmobile
2023-09-25 16:48:44 -04:00
parent 1667019662
commit abbf153785

View File

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