From 7e36b51474a641f813fad07d261b2c9a758387be Mon Sep 17 00:00:00 2001 From: La haut sur la glutte Date: Sun, 8 Dec 2019 13:42:04 +0000 Subject: Make 1750 react in 300ms instead of 500ms --- src/common/Audio/tone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/Audio/tone.c b/src/common/Audio/tone.c index f9ef7db..5124c8a 100644 --- a/src/common/Audio/tone.c +++ b/src/common/Audio/tone.c @@ -126,7 +126,7 @@ static inline void push_dtmf_code(enum dtmf_code code) // TODO: Does that depend on TONE_N? const int thresh_dtmf = 200; const int thresh_1750 = 300; -const int num_1750_required = 5; +const int num_1750_required = 3; static void analyse_dtmf() { -- cgit v1.2.3