Apply review comment

This commit is contained in:
Robert Schmidt
2022-03-11 11:36:07 +00:00
committed by Francesco Mani
parent 48cd851cab
commit 0c5242ea85
@@ -1882,13 +1882,13 @@ void nr_sr_reporting(int Mod_idP, frame_t SFN, sub_frame_t slot)
} }
curr_pucch->sr_flag = true; curr_pucch->sr_flag = true;
} else { } else {
NR_sched_pucch_t sched_sr; NR_sched_pucch_t sched_sr = {
memset(&sched_sr, 0, sizeof(sched_sr)); .frame = SFN,
sched_sr.frame = SFN; .ul_slot = slot,
sched_sr.ul_slot = slot; .sr_flag = true,
sched_sr.resource_indicator = found; .resource_indicator = found,
sched_sr.r_pucch = -1; .r_pucch = -1
sched_sr.sr_flag = true; };
nr_fill_nfapi_pucch(Mod_idP, SFN, slot, &sched_sr, UE_id); nr_fill_nfapi_pucch(Mod_idP, SFN, slot, &sched_sr, UE_id);
} }
} }