bugfix nr_initial_sync.c
This commit is contained in:
@@ -135,7 +135,7 @@ int nr_pbch_detection(UE_nr_rxtx_proc_t * proc, PHY_VARS_NR_UE *ue, int pbch_ini
|
|||||||
stop_meas(&ue->dlsch_channel_estimation_stats);
|
stop_meas(&ue->dlsch_channel_estimation_stats);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
current_ssb->metric = current_ssb->c_re*current_ssb->c_re + current_ssb->c_im+current_ssb->c_im;
|
current_ssb->metric = current_ssb->c_re*current_ssb->c_re + current_ssb->c_im*current_ssb->c_im;
|
||||||
|
|
||||||
// generate a list of SSB structures
|
// generate a list of SSB structures
|
||||||
if (best_ssb == NULL)
|
if (best_ssb == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user