Fixed lte-dlsim segflt

This commit is contained in:
Sakthivel Velumani
2021-03-19 00:56:44 +01:00
parent 58d10d592f
commit 80c261c9ae
4 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ void init_tpools(uint8_t nun_dlsch_threads) {
memcpy(params,"N",1);
}
else {
params = calloc(1,(RX_NB_TH*NB_TH_SLOT*3)+1);
for (int i=0; i<RX_NB_TH*NB_TH_SLOT; i++) {
params = calloc(1,(NR_RX_NB_TH*NR_NB_TH_SLOT*3)+1);
for (int i=0; i<NR_RX_NB_TH*NR_NB_TH_SLOT; i++) {
memcpy(params+(i*3),"-1,",3);
}
}