diff --git a/libs/libteletone/src/libteletone_detect.c b/libs/libteletone/src/libteletone_detect.c index cc12c8b250..9e5e850eb6 100644 --- a/libs/libteletone/src/libteletone_detect.c +++ b/libs/libteletone/src/libteletone_detect.c @@ -217,7 +217,7 @@ int teletone_multi_tone_detect (teletone_multi_tone_t *mt, gtest += teletone_goertzel_result (&mt->gs2[x]) < eng_all[x] ? 1 : 0; } - if (gtest >= 2 && eng_sum > 42.0 * mt->energy) { + if ((gtest >= 2 || gtest == mt->tone_count) && eng_sum > 42.0 * mt->energy) { if(mt->negatives) { mt->negatives--; }