From a64bcb1408244a73168add84f905755637adeaf3 Mon Sep 17 00:00:00 2001 From: fnabet <fabrice.nabet@alcatelonetouch.com> Date: Mon, 17 Jul 2017 16:49:04 +0200 Subject: [PATCH] fix warning w/o ue-timing option --- openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c b/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c index 74caa92f9c..e5d912b222 100644 --- a/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c +++ b/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c @@ -112,7 +112,9 @@ int rx_pdsch(PHY_VARS_UE *ue, int avg_0[2]; int avg_1[2]; +#if UE_TIMING_TRACE uint8_t slot = 0; +#endif unsigned char aatx,aarx; @@ -251,10 +253,13 @@ int rx_pdsch(PHY_VARS_UE *ue, } } +#if UE_TIMING_TRACE if(symbol > ue->frame_parms.symbols_per_tti>>1) { slot = 1; } +#endif + #ifdef DEBUG_HARQ printf("Demod dlsch0_harq->pmi_alloc %d\n", dlsch0_harq->pmi_alloc); #endif -- GitLab