List Info

Thread: sruffell: branch 1.4 r3892 - in /branches/1.4/kernel: ./ wctdm24xxp/




sruffell: branch 1.4 r3892 - in /branches/1.4/kernel: ./ wctdm24xxp/
user name
2008-02-28 00:01:48
Author: sruffell
Date: Thu Feb 28 00:01:47 2008
New Revision: 3892

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3892
Log:
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.


Modified:
    branches/1.4/kernel/wctdm.c
    branches/1.4/kernel/wctdm24xxp/wctdm24xxp.h

Modified: branches/1.4/kernel/wctdm.c
URL: http
://svn.digium.com/view/zaptel/branches/1.4/kernel/wctdm.c?vi
ew=diff&rev=3892&r1=3891&r2=3892
============================================================
==================
--- branches/1.4/kernel/wctdm.c (original)
+++ branches/1.4/kernel/wctdm.c Thu Feb 28 00:01:47 2008
 -254,7
+254,7 
    (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" */
 

Modified: branches/1.4/kernel/wctdm24xxp/wctdm24xxp.h
URL: http://svn.digium.com/view/zaptel/branches/1.4/k
ernel/wctdm24xxp/wctdm24xxp.h?view=diff&rev=3892&r1=
3891&r2=3892
============================================================
==================
--- branches/1.4/kernel/wctdm24xxp/wctdm24xxp.h (original)
+++ branches/1.4/kernel/wctdm24xxp/wctdm24xxp.h Thu Feb 28
00:01:47 2008
 -38,8
+38,8 
  *       instead of 128 ms.  Which one is more
appropriate?
  */
 #define DEFAULT_RING_DEBOUNCE	128
-#define DEFAULT_BATT_DEBOUNCE	1000		/* Battery debounce (in
ms) */
-#define POLARITY_DEBOUNCE	64		/* Polarity debounce (in ms)
*/
+#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" */
 
 #define OHT_TIMER		6000	/* How long after RING to retain
OHT */


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

zaptel-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/zaptel-commits

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )