aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/src/Audio/tone.c2
1 files changed, 2 insertions, 0 deletions
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
}