From 42e1998eeeff1384acb2a79502d940d4d228b5f4 Mon Sep 17 00:00:00 2001 From: thomasl <thomasl@eurecom.fr> Date: Wed, 4 Mar 2015 18:23:31 +0000 Subject: [PATCH] fix a bug that wrongly compute the initial slot synchro git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6671 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair1/PHY/LTE_TRANSPORT/initial_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/PHY/LTE_TRANSPORT/initial_sync.c b/openair1/PHY/LTE_TRANSPORT/initial_sync.c index 223e471451..6d6c6e9d9e 100644 --- a/openair1/PHY/LTE_TRANSPORT/initial_sync.c +++ b/openair1/PHY/LTE_TRANSPORT/initial_sync.c @@ -229,7 +229,7 @@ int pbch_detection(PHY_VARS_UE *phy_vars_ue, runmode_t mode) { int initial_sync(PHY_VARS_UE *phy_vars_ue, runmode_t mode) { - uint32_t sync_pos,sync_pos2,sync_pos_slot; + int32_t sync_pos,sync_pos2,sync_pos_slot; int32_t metric_fdd_ncp=0,metric_fdd_ecp=0,metric_tdd_ncp=0,metric_tdd_ecp=0; uint8_t phase_fdd_ncp,phase_fdd_ecp,phase_tdd_ncp,phase_tdd_ecp; uint8_t flip_fdd_ncp,flip_fdd_ecp,flip_tdd_ncp,flip_tdd_ecp; -- GitLab