Commit 25ffd08f authored by laurent's avatar laurent Committed by frtabu

fix lte_adjust_time

parent 5e0e94ee
......@@ -84,7 +84,7 @@ void lte_adjust_synch(LTE_DL_FRAME_PARMS *frame_parms,
if(subframe == 5)
{
diff = max_pos_fil - (frame_parms->nb_prefix_samples>>3);
diff = max_pos_fil ; // - (frame_parms->nb_prefix_samples>>3);
if ( abs(diff) < SYNCH_HYST )
ue->rx_offset = 0;
......
......@@ -1743,8 +1743,7 @@ void *UE_thread(void *arg) {
if (UE->no_timing_correction == 0) {
if (getenv("RFSIMULATOR") != NULL && UE->rx_offset) {
//LOG_E(HW,"in simu, rx_offset is not null: %d\n", UE->rx_offset);
UE->rx_offset=0;
LOG_E(HW,"in simu, rx_offset is not null: %d\n", UE->rx_offset)
}
if ( UE->rx_offset < 5*UE->frame_parms.samples_per_tti &&
UE->rx_offset > 0 )
......
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