From 15f565ea0090831fc5ce40e4d40e31fc6184d167 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Sat, 6 Apr 2024 06:28:13 +1030 Subject: [PATCH] fix stm32 build ... --- stm32/unittest/src/tst_ofdm_demod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stm32/unittest/src/tst_ofdm_demod.c b/stm32/unittest/src/tst_ofdm_demod.c index 3be96c4..980c236 100644 --- a/stm32/unittest/src/tst_ofdm_demod.c +++ b/stm32/unittest/src/tst_ofdm_demod.c @@ -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); @@ -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)