diff --git a/src/freedv_2020.c b/src/freedv_2020.c index 83e1f54a..a1a3d318 100644 --- a/src/freedv_2020.c +++ b/src/freedv_2020.c @@ -279,8 +279,8 @@ int freedv_comprx_2020(struct freedv *f, COMP demod_in[]) { uint8_t out_char[coded_bits_per_frame]; if (f->test_frames) { - Nerrs_raw = count_uncoded_errors(ldpc, &f->ofdm->config, - codeword_symbols_de, payload_amps_de, 0); + Nerrs_raw = count_uncoded_errors( + ldpc, &f->ofdm->config, codeword_symbols_de, codeword_amps_de, 0); f->total_bit_errors += Nerrs_raw; f->total_bits += f->ofdm_bitsperframe; }