Commit b0ef64f3 authored by Robert Schmidt's avatar Robert Schmidt Committed by Francesco Mani

Apply review comment

parent a8f609ae
...@@ -1882,13 +1882,13 @@ void nr_sr_reporting(int Mod_idP, frame_t SFN, sub_frame_t slot) ...@@ -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);
} }
} }
......
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