Fixed blocking bug

This commit is contained in:
Sakthivel Velumani
2021-03-17 14:58:06 +01:00
parent cdda2a4a6f
commit a702fd55b3
3 changed files with 4 additions and 2 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*3)+1);
for (int i=0; i<RX_NB_TH; i++) {
params = calloc(1,(RX_NB_TH*NB_TH_SLOT*3)+1);
for (int i=0; i<RX_NB_TH*NB_TH_SLOT; i++) {
memcpy(params+(i*3),"-1,",3);
}
}