Commit 8b88899b authored by Florian Kaltenberger's avatar Florian Kaltenberger

fixing benetel drivers after introduction of multiple PRACH occastions

parent 4e21c42c
...@@ -207,7 +207,7 @@ next: ...@@ -207,7 +207,7 @@ next:
uint16_t *in; uint16_t *in;
uint16_t *out; uint16_t *out;
in = (uint16_t *)s->buffers.prach[*subframe]; in = (uint16_t *)s->buffers.prach[*subframe];
out = (uint16_t *)ru->prach_rxsigF[antenna]; out = (uint16_t *)ru->prach_rxsigF[0][antenna];
for (i = 0; i < 840*2; i++) for (i = 0; i < 840*2; i++)
out[i] = ntohs(in[i]); out[i] = ntohs(in[i]);
s->buffers.prach_busy[*subframe] = 0; s->buffers.prach_busy[*subframe] = 0;
......
...@@ -215,7 +215,7 @@ next: ...@@ -215,7 +215,7 @@ next:
uint16_t *in; uint16_t *in;
uint16_t *out; uint16_t *out;
in = (uint16_t *)s->buffers.prach[*slot]; in = (uint16_t *)s->buffers.prach[*slot];
out = (uint16_t *)ru->prach_rxsigF[antenna]; out = (uint16_t *)ru->prach_rxsigF[0][antenna];
for (i = 0; i < 839*2; i++) for (i = 0; i < 839*2; i++)
out[i] = ntohs(in[i]); out[i] = ntohs(in[i]);
s->buffers.prach_busy[*slot] = 0; s->buffers.prach_busy[*slot] = 0;
......
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