From a24be049293bafafd1d037939d9e99ca6f0e8208 Mon Sep 17 00:00:00 2001 From: francescomani Date: Tue, 21 Jun 2022 09:52:12 +0200 Subject: [PATCH] initializing nrofcandidates in dlsim --- openair1/SIMULATION/NR_PHY/dlsim.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openair1/SIMULATION/NR_PHY/dlsim.c b/openair1/SIMULATION/NR_PHY/dlsim.c index 8d89ff0888..b9fed90eab 100644 --- a/openair1/SIMULATION/NR_PHY/dlsim.c +++ b/openair1/SIMULATION/NR_PHY/dlsim.c @@ -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_ServingCellConfigCommon_t *scc = RC.nrmac[0]->common_channels[0].ServingCellConfigCommon; - /* manually set free CCE to 0 */ - - uint8_t nr_of_candidates; + uint8_t nr_of_candidates = 0; if (g_mcsIndex < 4) { find_aggregation_candidates(&sched_ctrl->aggregation_level, &nr_of_candidates,