summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/wctdm.c2
-rw-r--r--kernel/wctdm24xxp/wctdm24xxp.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/kernel/wctdm.c b/kernel/wctdm.c
index 02ffa40..83b1c31 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 4 /* Battery debounce (64 ms) */
+#define DEFAULT_BATT_DEBOUNCE 62 /* Battery debounce (1000 ms) */
#define POLARITY_DEBOUNCE 4 /* Polarity debounce (64 ms) */
#define DEFAULT_BATT_THRESH 3 /* Anything under this is "no battery" */
diff --git a/kernel/wctdm24xxp/wctdm24xxp.h b/kernel/wctdm24xxp/wctdm24xxp.h
index fd7f39b..4d245e9 100644
--- a/kernel/wctdm24xxp/wctdm24xxp.h
+++ b/kernel/wctdm24xxp/wctdm24xxp.h
@@ -38,8 +38,8 @@
* 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_DEBOUNCE 1000 /* Battery debounce (in ms) */
+#define POLARITY_DEBOUNCE 64 /* Polarity debounce (in ms) */
#define DEFAULT_BATT_THRESH 3 /* Anything under this is "no battery" */
#define OHT_TIMER 6000 /* How long after RING to retain OHT */