aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMooneer Salem <[email protected]>2024-03-28 13:06:15 -0700
committerMooneer Salem <[email protected]>2024-03-28 13:06:15 -0700
commit33de2f85fdcb0e5eff35267c58630599d384c98e (patch)
treea914916b8725f8239df568a9f9eab945871cbb84
parent9879bea79deca674135c26482db6eb43770d14c9 (diff)
Fix some 2020 test failures.
-rw-r--r--src/freedv_2020.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedv_2020.c b/src/freedv_2020.c
index f1dee28..1d8e66c 100644
--- a/src/freedv_2020.c
+++ b/src/freedv_2020.c
@@ -276,8 +276,8 @@ int freedv_comprx_2020(struct freedv *f, COMP demod_in[]) {
gp_deinterleave_float(codeword_amps_de, codeword_amps,
coded_syms_per_frame);
- float llr[coded_bits_per_frame];
- uint8_t out_char[coded_bits_per_frame];
+ float llr[ldpc->CodeLength * 2];
+ uint8_t out_char[ldpc->CodeLength * 2];
if (f->test_frames) {
Nerrs_raw =