Commit 61b6cddf authored by lfq's avatar lfq

fix bug in test_dpdkrf_write

parent bb542273
...@@ -75,9 +75,8 @@ int32_t test_dpdkrf_write (openair0_device *device,openair0_timestamp timestamp, ...@@ -75,9 +75,8 @@ int32_t test_dpdkrf_write (openair0_device *device,openair0_timestamp timestamp,
for (int i = 0; i < cc; i++) for (int i = 0; i < cc; i++)
{ {
buff[i] = buff1[i]; buff[i] = buff1[i];
for(int j = 0; j < cc; j++) {
int len = nsamps * 2; int len = nsamps * 2;
int16_t *iq = buff[j]; int16_t *iq = buff[i];
#if defined(__x86_64) || defined(__i386__) #if defined(__x86_64) || defined(__i386__)
__m256i a, *b; __m256i a, *b;
...@@ -105,7 +104,6 @@ int32_t test_dpdkrf_write (openair0_device *device,openair0_timestamp timestamp, ...@@ -105,7 +104,6 @@ int32_t test_dpdkrf_write (openair0_device *device,openair0_timestamp timestamp,
iq++; iq++;
len--; len--;
} }
}
} }
for (int i = cc; i < 4; i++) for (int i = cc; i < 4; i++)
{ {
......
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