[Asterisk-cvs] zaptel wct1xxp.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Thu Oct 30 11:27:15 CST 2003
- Previous message: [Asterisk-cvs] asterisk/apps app_meetme.c,1.5,1.6
- Next message: [Asterisk-cvs] zaptel patlooptest.c,1.1.1.2,1.2 wct4xxp.c,1.9,1.10 zaptel.c,1.32,1.33 zaptel.conf.sample,1.2,1.3 zaptel.h,1.14,1.15 ztcfg.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv22920
Modified Files:
wct1xxp.c
Log Message:
Resync T1 rather than trying to adjust for new offset
Index: wct1xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct1xxp.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- wct1xxp.c 21 Sep 2003 15:50:24 -0000 1.3
+++ wct1xxp.c 30 Oct 2003 17:53:23 -0000 1.4
@@ -912,9 +912,11 @@
for (x=3;x<32;x+=4) {
if (rxbuf[32 * y + ((x + WC_OFFSET) & 0x1f)] == 0x7f) {
if (wc->offset != (x-3)) {
- wc->offset = x - 3;
+ /* Resync */
+ control_set_reg(wc, WC_CLOCK, 0x02 | wc->sync | wc->ise1);
+ wc->clocktimeout = 100;
#if 1
- if (debug) printk("New offset: %d\n", wc->offset);
+ if (debug) printk("T1: Lost our place, resyncing\n", wc->offset);
#endif
}
}
- Previous message: [Asterisk-cvs] asterisk/apps app_meetme.c,1.5,1.6
- Next message: [Asterisk-cvs] zaptel patlooptest.c,1.1.1.2,1.2 wct4xxp.c,1.9,1.10 zaptel.c,1.32,1.33 zaptel.conf.sample,1.2,1.3 zaptel.h,1.14,1.15 ztcfg.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list