From 6087fae4d0e974eba0f4a6238dc22b21921c759b Mon Sep 17 00:00:00 2001 From: okcsampson Date: Sun, 11 Jun 2017 23:15:01 +0000 Subject: [PATCH] Update ofdm.c for loop bug git-svn-id: https://svn.code.sf.net/p/freetel/code@3176 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/src/ofdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec2-dev/src/ofdm.c b/codec2-dev/src/ofdm.c index 2aa50a80..c01144ba 100644 --- a/codec2-dev/src/ofdm.c +++ b/codec2-dev/src/ofdm.c @@ -194,7 +194,7 @@ static void ofdm_txframe(struct OFDM *ofdm, complex float tx[OFDM_SAMPLESPERFRAM /* Now move row to the tx reference */ for (j = 0; j < (OFDM_M + OFDM_NCP); j++) { - tx[l] = asymbol_cp[j]; + tx[l + j] = asymbol_cp[j]; } } } -- 2.25.1