From d2ee0ff421f0108a49d82b8b01bf4d18dfe72be7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 19 Apr 2019 18:41:52 +0200 Subject: Disable Tones debugging --- src/common/src/Audio/tone.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/common/src/Audio/tone.c b/src/common/src/Audio/tone.c index 9298b15..c70a84f 100644 --- a/src/common/src/Audio/tone.c +++ b/src/common/src/Audio/tone.c @@ -319,6 +319,7 @@ void tone_do_analysis() tone_1750_detected = (normalised_results[DET_1750] > thresh_1750); analyse_dtmf(); +#if PRINT_TONES_STATS static int printcounter = 0; if (++printcounter == 5) { usart_debug("Tones: % 3d % 3d % 3d % 3d % 3d\r\n", @@ -330,5 +331,6 @@ void tone_do_analysis() printcounter = 0; } +#endif // PRINT_TONES_STATS } -- cgit v1.2.3