From aa2148083c7d692ed83687eb6c6e91db906a291c Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 20 Jul 2019 03:01:13 -0400 Subject: [PATCH] added #ifdef DEBUG_LOGGING around INFO printf messages --- afsk/ax5043.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/afsk/ax5043.c b/afsk/ax5043.c index 8ed001f5..f8c3b2e9 100644 --- a/afsk/ax5043.c +++ b/afsk/ax5043.c @@ -1071,7 +1071,9 @@ int ax5043_wait_for_transmit() { /* tx is done */ __tx_frame_end(__ax5043_conf); transmittedPostamble = 0; - printf("INFO: TX done\n"); + #ifdef DEBUG_LOGGING + printf("INFO: TX done\n"); + #endif return PQWS_SUCCESS; } @@ -1130,7 +1132,9 @@ int ax5043_wait_for_transmit() { if (radiostate == 0) { /* tx is done */ __tx_active = 0; - printf("INFO: TX done\n"); + #ifdef DEBUG_LOGGING + printf("INFO: TX done\n"); + #endif } } }