Commit 13c8931b authored by Florian Kaltenberger's avatar Florian Kaltenberger

bugfix in modulation

parent a6db17ff
...@@ -126,9 +126,10 @@ void generate_qpsk_table(void) ...@@ -126,9 +126,10 @@ void generate_qpsk_table(void)
int a,index; int a,index;
for (a=-1; a<=1; a+=2) for (a=-1; a<=1; a+=2) {
index = (1+a)/2; index = (1+a)/2;
qpsk_table[index] = -a*QPSK; qpsk_table[index] = -a*QPSK;
}
} }
...@@ -2511,10 +2512,6 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB, ...@@ -2511,10 +2512,6 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB,
switch (mod_order1) { switch (mod_order1) {
case 2: case 2:
qam_table_s1 = NULL; qam_table_s1 = NULL;
#ifdef NEW_ALLOC_RE
/* TODO: remove this code? */
allocate_REs = allocate_REs_in_RB;
#endif
break; break;
case 4: case 4:
if (pilots) { if (pilots) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment