Fix loop bug in ofdm.c
authorokcsampson <okcsampson@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 12 Jun 2017 17:42:48 +0000 (17:42 +0000)
committerokcsampson <okcsampson@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 12 Jun 2017 17:42:48 +0000 (17:42 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3185 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/ofdm.c

index ed7fdefcba991028ec66341b011764f7e92162ea..a77491cee50f7d0106649dff2b9f858b5a6282c8 100644 (file)
@@ -321,7 +321,7 @@ void ofdm_mod(struct OFDM *ofdm, COMP result[OFDM_SAMPLESPERFRAME], const int *t
     complex float tx[OFDM_SAMPLESPERFRAME];
     complex float tx_sym_lin[length];
     int dibit[2];
-    int s, j;
+    int s, i;
 
     if (OFDM_BPS == 1) {
         /* Here we will have Nbitsperframe / 1 */