diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-04-09 19:12:15 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-04-09 19:12:15 +0000 |
commit | b0e0fe7eb1bab189edd10614eeeb108c5736b651 (patch) | |
tree | 17df3c68a3d4cc0d0afc7a27a574c78de2b12549 /wct4xxp.c | |
parent | 95468285f35850b23c2f6586c7087ed20ac34fea (diff) |
Don't consider freshly started spans as timing sources (bug #1397)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@357 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-x | wct4xxp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -875,7 +875,10 @@ static int t4_startup(struct zt_span *span) } 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 */ |