Fix a compile error

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-06-17 23:13:41 +00:00
parent cf43ccdfde
commit da6bceb5a7

2
dsp.c
View File

@@ -1052,7 +1052,7 @@ int ast_dsp_busydetect(struct ast_dsp *dsp)
#endif
#ifdef BUSYDETECT_COMPARE_TONE_AND_SILENCE
#ifdef BUSYDETECT_TONEONLY
#error You can't use BUSYDETECT_TONEONLY together with BUSYDETECT_COMPARE_TONE_AND_SILENCE
#error You cant use BUSYDETECT_TONEONLY together with BUSYDETECT_COMPARE_TONE_AND_SILENCE
#endif
if (avgtone > avgsilence) {
if (avgtone - avgtone/(BUSY_PERCENT*2) <= avgsilence)