From 25f35fbbb475a205eabca80b8589e128c97754dc Mon Sep 17 00:00:00 2001 From: Elena_Lukashova <elena.lukashova@eurecom.fr> Date: Tue, 28 Feb 2017 16:18:30 +0100 Subject: [PATCH] fix: remove verbose printfs --- openair1/PHY/LTE_TRANSPORT/dci_tools.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/openair1/PHY/LTE_TRANSPORT/dci_tools.c b/openair1/PHY/LTE_TRANSPORT/dci_tools.c index bc617b23e7..9f4749cdc6 100644 --- a/openair1/PHY/LTE_TRANSPORT/dci_tools.c +++ b/openair1/PHY/LTE_TRANSPORT/dci_tools.c @@ -5642,9 +5642,9 @@ void prepare_dl_decoding_format2_2A(DCI_format_t dci_format, TB1_active=0; } - //#ifdef DEBUG_HARQ +#ifdef DEBUG_HARQ printf("[DCI UE]: TB0 status %d , TB1 status %d\n", TB0_active, TB1_active); - //#endif +#endif dlsch0_harq->mcs = mcs1; dlsch1_harq->mcs = mcs2; @@ -5682,21 +5682,23 @@ void prepare_dl_decoding_format2_2A(DCI_format_t dci_format, if (TB0_active==0) { dlsch0_harq->status = SCH_IDLE; pdlsch0->active = 0; - //#ifdef DEBUG_HARQ +#ifdef DEBUG_HARQ printf("[DCI UE]: TB0 is deactivated, retransmit TB1 transmit in TM6\n"); - //#endif +#endif } if (TB1_active==0) { dlsch1_harq->status = SCH_IDLE; pdlsch1->active = 0; - //#ifdef DEBUG_HARQ +#ifdef DEBUG_HARQ printf("[DCI UE]: TB1 is deactivated, retransmit TB0 transmit in TM6\n"); - //#endif +#endif } +#ifdef DEBUG_HARQ printf("[DCI UE]: dlsch0_harq status %d , dlsch1_harq status %d\n", dlsch0_harq->status, dlsch1_harq->status); +#endif // compute resource allocation if (TB0_active == 1){ @@ -5824,7 +5826,9 @@ void prepare_dl_decoding_format2_2A(DCI_format_t dci_format, dlsch1_harq->Qm = (mcs2-28)<<1; } +#ifdef DEBUG_HARQ printf("[DCI UE]: dlsch0_harq status %d , dlsch1_harq status %d\n", dlsch0_harq->status, dlsch1_harq->status); +#endif #ifdef DEBUG_HARQ if (dlsch0 != NULL && dlsch1 != NULL) -- GitLab