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; }