Skip to content

Commit

Permalink
fix stm32 build ...
Browse files Browse the repository at this point in the history
  • Loading branch information
drowe67 committed Apr 5, 2024
1 parent ffd020c commit 15f565e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stm32/unittest/src/tst_ofdm_demod.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ int main(int argc, char *argv[]) {
}

symbols_to_llrs(llr, codeword_symbols_de, codeword_amps_de, EsNo,
ofdm->mean_amp, coded_syms_per_frame);
ofdm->mean_amp, ofdm->bps, coded_syms_per_frame);
iter = run_ldpc_decoder(&ldpc, out_char, llr, &parityCheckCount);

// fprintf(stderr,"iter: %d pcc: %d\n", iter, parityCheckCount);
Expand All @@ -321,7 +321,7 @@ int main(int argc, char *argv[]) {
} else {
/* lpdc_en == 0, external LDPC decoder, so output LLRs */
symbols_to_llrs(llr, codeword_symbols_de, codeword_amps_de, EsNo,
ofdm->mean_amp, coded_syms_per_frame);
ofdm->mean_amp, ofdm->bps, coded_syms_per_frame);
fwrite(llr, sizeof(double), coded_bits_per_frame, fout);
}
} else { // !llrs_en (or ldpc_en)
Expand Down

0 comments on commit 15f565e

Please # to comment.