From: okcsampson Date: Sun, 11 Jun 2017 23:15:01 +0000 (+0000) Subject: Update ofdm.c for loop bug X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=6087fae4d0e974eba0f4a6238dc22b21921c759b;p=freetel-svn-tracking.git Update ofdm.c for loop bug git-svn-id: https://svn.code.sf.net/p/freetel/code@3176 01035d8c-6547-0410-b346-abe4f91aad63 --- 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]; } } }