summaryrefslogtreecommitdiff
path: root/kernel/wctdm.c
diff options
context:
space:
mode:
authorsruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-02-28 06:01:47 +0000
committersruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-02-28 06:01:47 +0000
commit26b56110d2b130e7816ade9f201cc2eeebd0cdc9 (patch)
tree55817412f1762e3475acc5e4d17fe3afa56f4b39 /kernel/wctdm.c
parentde841f621272ba0c7872a1e0fccf2dd928012325 (diff)
Undoing the change in revision 3883 until there can be more thought about the
best place to configure the battery debounce time. Too short and erroneous alarms are generated. Too long, and asterisk won't detect when the remote side disconnects. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3892 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/wctdm.c')
-rw-r--r--kernel/wctdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/wctdm.c b/kernel/wctdm.c
index 83b1c31..02ffa40 100644
--- a/kernel/wctdm.c
+++ b/kernel/wctdm.c
@@ -254,7 +254,7 @@ static struct fxo_mode {
(the interrupt cycles around the four modules), so the periods are
specified in _4 millisecond_ increments
*/
-#define DEFAULT_BATT_DEBOUNCE 62 /* Battery debounce (1000 ms) */
+#define DEFAULT_BATT_DEBOUNCE 4 /* Battery debounce (64 ms) */
#define POLARITY_DEBOUNCE 4 /* Polarity debounce (64 ms) */
#define DEFAULT_BATT_THRESH 3 /* Anything under this is "no battery" */