From ddfd114865caddfc15005f7cf3cd0a51ed21dc20 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 9 Feb 2018 11:36:55 +0100 Subject: [PATCH] rlc_am: disable debug prints --- lib/include/srslte/common/common.h | 2 +- lib/src/upper/rlc_am.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/include/srslte/common/common.h b/lib/include/srslte/common/common.h index ddd558016..41a89fb36 100644 --- a/lib/include/srslte/common/common.h +++ b/lib/include/srslte/common/common.h @@ -63,7 +63,7 @@ #define SRSLTE_MAX_BUFFER_SIZE_BYTES 12756 #define SRSLTE_BUFFER_HEADER_OFFSET 1024 -#define SRSLTE_BUFFER_POOL_LOG_ENABLED +//#define SRSLTE_BUFFER_POOL_LOG_ENABLED #ifdef SRSLTE_BUFFER_POOL_LOG_ENABLED #define pool_allocate (pool->allocate(__FUNCTION__)) diff --git a/lib/src/upper/rlc_am.cc b/lib/src/upper/rlc_am.cc index c5a495c32..affeba665 100644 --- a/lib/src/upper/rlc_am.cc +++ b/lib/src/upper/rlc_am.cc @@ -1001,8 +1001,9 @@ void rlc_am::handle_data_pdu_segment(uint8_t *payload, uint32_t nof_bytes, rlc_a // else delay for reordering timer } } - +#ifdef RLC_AM_BUFFER_DEBUG print_rx_segments(); +#endif debug_state(); }