From fb6746537af9e2e9a9e7941a3d75af0de32aaa43 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Thu, 2 Jun 2016 12:38:33 +0200 Subject: [PATCH] bugfix: include T.h or compilation fails when T unused (the T macro is then undefined) --- openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c | 1 + openair1/PHY/LTE_TRANSPORT/pucch.c | 2 ++ openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c | 2 ++ openair1/SCHED/phy_procedures_lte_eNb.c | 2 ++ openair2/RRC/LITE/rrc_eNB.c | 2 ++ 5 files changed, 9 insertions(+) diff --git a/openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c b/openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c index f17c69c5f3..74b6e8cfbb 100644 --- a/openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c +++ b/openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c @@ -31,6 +31,7 @@ #include "PHY/sse_intrin.h" //#define DEBUG_CH +#include "T.h" // For Channel Estimation in Distributed Alamouti Scheme //static int16_t temp_out_ifft[2048*4] __attribute__((aligned(16))); diff --git a/openair1/PHY/LTE_TRANSPORT/pucch.c b/openair1/PHY/LTE_TRANSPORT/pucch.c index 51b13c82c5..d0d914ef73 100644 --- a/openair1/PHY/LTE_TRANSPORT/pucch.c +++ b/openair1/PHY/LTE_TRANSPORT/pucch.c @@ -41,6 +41,8 @@ #include "PHY/extern.h" #include "LAYER2/MAC/extern.h" +#include "T.h" + //uint8_t ncs_cell[20][7]; //#define DEBUG_PUCCH_TX //#define DEBUG_PUCCH_RX diff --git a/openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c b/openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c index 5a0115a24b..106181dfc8 100644 --- a/openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c +++ b/openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c @@ -47,6 +47,8 @@ //#define DEBUG_ULSCH #include "PHY/sse_intrin.h" +#include "T.h" + //extern char* namepointer_chMag ; //eren //extern int **ulchmag_eren; diff --git a/openair1/SCHED/phy_procedures_lte_eNb.c b/openair1/SCHED/phy_procedures_lte_eNb.c index e251bddbee..e8c2e87414 100755 --- a/openair1/SCHED/phy_procedures_lte_eNb.c +++ b/openair1/SCHED/phy_procedures_lte_eNb.c @@ -60,6 +60,8 @@ #include "assertions.h" #include "msc.h" +#include "T.h" + #if defined(ENABLE_ITTI) # include "intertask_interface.h" # if ENABLE_RAL diff --git a/openair2/RRC/LITE/rrc_eNB.c b/openair2/RRC/LITE/rrc_eNB.c index 0db8fe9960..87e65987b9 100644 --- a/openair2/RRC/LITE/rrc_eNB.c +++ b/openair2/RRC/LITE/rrc_eNB.c @@ -63,6 +63,8 @@ #include "platform_types.h" #include "msc.h" +#include "T.h" + //#ifdef Rel10 #include "MeasResults.h" //#endif -- GitLab