summaryrefslogtreecommitdiff
path: root/wctdm24xxp/wctdm24xxp.h
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-11 18:10:58 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-11 18:10:58 +0000
commite629d7e5ea761222b3c086a8a7ea0485646ceae2 (patch)
treeaf9cee1d416a0cedc1ab4d2636fa18d73dc7c642 /wctdm24xxp/wctdm24xxp.h
parent1f0a059c7f501eed084f24ef4b51baa4068d6b1c (diff)
After committing the patch to make ringdebounce a module parameter in wctdm, I
went ahead and made the same change to wctdm24xxp. *** Note that there is a discrepancy here. wctdm uses 64 ms as the default ring debounce value while this module uses 128 ms. I'm not sure which one is more appropriate, but they should certainly default to the same thing. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3012 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp/wctdm24xxp.h')
-rw-r--r--wctdm24xxp/wctdm24xxp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/wctdm24xxp/wctdm24xxp.h b/wctdm24xxp/wctdm24xxp.h
index b7067ca..16260cb 100644
--- a/wctdm24xxp/wctdm24xxp.h
+++ b/wctdm24xxp/wctdm24xxp.h
@@ -8,7 +8,13 @@
#define WC_MAX_IFACES 128
-#define RING_DEBOUNCE 128 /* Ringer Debounce (in ms) */
+/*!
+ * \brief Default ringer debounce (in ms)
+ *
+ * \todo This value differs from that in wctdm. In that module, it is 64 ms
+ * instead of 128 ms. Which one is more appropriate?
+ */
+#define DEFAULT_RING_DEBOUNCE 128
#define DEFAULT_BATT_DEBOUNCE 64 /* Battery debounce (in ms) */
#define POLARITY_DEBOUNCE 64 /* Polarity debounce (in ms) */
#define DEFAULT_BATT_THRESH 3 /* Anything under this is "no battery" */