mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-14 09:47:30 -05:00
P25 -- NAC/CC Minor Annoyance Fix;
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user