[Asterisk-cvs] zaptel wct4xxp.c,1.34,1.35
markster at lists.digium.com
markster at lists.digium.com
Fri Apr 9 15:11:01 CDT 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv16275
Modified Files:
wct4xxp.c
Log Message:
Don't consider freshly started spans as timing sources (bug #1397)
Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- wct4xxp.c 9 Apr 2004 18:44:39 -0000 1.34
+++ wct4xxp.c 9 Apr 2004 19:12:15 -0000 1.35
@@ -875,7 +875,10 @@
}
if (!alreadyrunning) {
+ /* Never trust timing from something we're just starting. Let it settle first. */
+ span->alarms |= ZT_ALARM_RECOVER;
span->flags |= ZT_FLAG_RUNNING;
+ wc->alarmtimer[span->offset] = ZT_ALARMSETTLE_TIME;
wc->spansstarted++;
/* enable interrupts */
/* Start DMA, enabling DMA interrupts on read only */
More information about the svn-commits
mailing list