From 1667019662e2988814b912b8374d2e5bd043ac67 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Mon, 25 Sep 2023 16:40:52 -0400 Subject: [PATCH] P25 -- NAC/CC Minor Annoyance Fix; --- src/dsd_frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsd_frame.c b/src/dsd_frame.c index 2767299..8948c77 100644 --- a/src/dsd_frame.c +++ b/src/dsd_frame.c @@ -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; }