aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-19 18:41:52 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-19 18:41:52 +0200
commitd2ee0ff421f0108a49d82b8b01bf4d18dfe72be7 (patch)
tree86bc58c769f60b5646b95ec2da38770b6bef529f /src
parentf8a64c9dd13d69deadff4c094d407a3bc68e221f (diff)
downloadglutte-o-matic-d2ee0ff421f0108a49d82b8b01bf4d18dfe72be7.tar.gz
glutte-o-matic-d2ee0ff421f0108a49d82b8b01bf4d18dfe72be7.tar.bz2
glutte-o-matic-d2ee0ff421f0108a49d82b8b01bf4d18dfe72be7.zip
Disable Tones debugging
Diffstat (limited to 'src')
-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
}