From 13c8931bf26bf51bb4866ffd6c1ca2491bc1c1a5 Mon Sep 17 00:00:00 2001 From: Florian Kaltenberger <florian.kaltenberger@eurecom.fr> Date: Thu, 25 Jan 2018 15:57:57 +0100 Subject: [PATCH] bugfix in modulation --- openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c b/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c index f6b3104402..868f9e0e9f 100644 --- a/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c +++ b/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c @@ -126,9 +126,10 @@ void generate_qpsk_table(void) int a,index; - for (a=-1; a<=1; a+=2) + for (a=-1; a<=1; a+=2) { index = (1+a)/2; qpsk_table[index] = -a*QPSK; + } } @@ -2511,10 +2512,6 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB, switch (mod_order1) { case 2: qam_table_s1 = NULL; -#ifdef NEW_ALLOC_RE - /* TODO: remove this code? */ - allocate_REs = allocate_REs_in_RB; -#endif break; case 4: if (pilots) { -- GitLab