From abbf15378503855fdc0822b3afcf6a107fa21921 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Mon, 25 Sep 2023 16:48:44 -0400 Subject: [PATCH] P25 -- Fix Minor Annoyance, Take 2; --- src/dsd_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsd_frame.c b/src/dsd_frame.c index 8948c77..879f8a4 100644 --- a/src/dsd_frame.c +++ b/src/dsd_frame.c @@ -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; }