ue nr pbch bug fix

This commit is contained in:
Hongzhi Wang
2018-06-12 17:43:17 +02:00
parent 1a039eecbd
commit 98aa9e1c56
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -40,4 +40,6 @@ int nr_pbch_dmrs_rx(unsigned int *nr_gold_pbch, int32_t *output );
int length_dmrs,
unsigned short nb_pdsch_rb);*/
void nr_gold_pbch(PHY_VARS_NR_UE* ue);
#endif
@@ -258,7 +258,7 @@ int nr_initial_sync(PHY_VARS_NR_UE *ue, runmode_t mode)
set_default_frame_parms_single(config,&ue->frame_parms);
nr_init_frame_parms_ue(config,&ue->frame_parms);
nr_gold_pbch(ue);
//nr_gold_pbch(ue);
ret = pbch_detection(ue,mode);
// write_output("rxdata2.m","rxd2",ue->common_vars.rxdata[0],10*frame_parms->samples_per_tti,1,1);