Commit a24be049 authored by francescomani's avatar francescomani

initializing nrofcandidates in dlsim

parent 83a94142
...@@ -276,9 +276,7 @@ void nr_dlsim_preprocessor(module_id_t module_id, ...@@ -276,9 +276,7 @@ void nr_dlsim_preprocessor(module_id_t module_id,
NR_UE_DL_BWP_t *BWP = &UE_info->current_DL_BWP; NR_UE_DL_BWP_t *BWP = &UE_info->current_DL_BWP;
NR_ServingCellConfigCommon_t *scc = RC.nrmac[0]->common_channels[0].ServingCellConfigCommon; NR_ServingCellConfigCommon_t *scc = RC.nrmac[0]->common_channels[0].ServingCellConfigCommon;
/* manually set free CCE to 0 */ uint8_t nr_of_candidates = 0;
uint8_t nr_of_candidates;
if (g_mcsIndex < 4) { if (g_mcsIndex < 4) {
find_aggregation_candidates(&sched_ctrl->aggregation_level, find_aggregation_candidates(&sched_ctrl->aggregation_level,
&nr_of_candidates, &nr_of_candidates,
......
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