diff options
Diffstat (limited to 'wct1xxp.c')
-rwxr-xr-x | wct1xxp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -912,9 +912,11 @@ static void t1xxp_receiveprep(struct t1xxp *wc, int ints) 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 } } |