@@ -120,7 +121,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
...
@@ -120,7 +121,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
for(UE_id=0;UE_id<NUMBER_OF_UE_MAX;UE_id++){
for(UE_id=0;UE_id<NUMBER_OF_UE_MAX;UE_id++){
gNB->first_run_timing_advance[UE_id]=
gNB->first_run_timing_advance[UE_id]=
1;///This flag used to be static. With multiple gNBs this does no longer work, hence we put it in the structure. However it has to be initialized with 1, which is performed here.
1;///This flag used to be static. With multiple gNBs this does no longer work, hence we put it in the structure. However it has to be initialized with 1, which is performed here.