From: Frank Mori Hess Date: Mon, 11 Jun 2001 22:38:34 +0000 (+0000) Subject: fix to bug in fifo overflow check I created with last revision X-Git-Tag: r0_7_60~164 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c64bad86a480e545d54148158441acb51f7accb;p=comedi.git fix to bug in fifo overflow check I created with last revision --- diff --git a/comedi/drivers/das800.c b/comedi/drivers/das800.c index 78bed8b2..278ff6c1 100644 --- a/comedi/drivers/das800.c +++ b/comedi/drivers/das800.c @@ -397,6 +397,8 @@ static void das800_interrupt(int irq, void *d, struct pt_regs *regs) if(thisboard->resolution == 12) { fifo_empty = dataPoint & FIFO_EMPTY; + fifo_overflow = dataPoint & FIFO_OVF; + if(fifo_overflow) break; }else { fifo_empty = 0; // cio-das802/16 has no fifo empty status bit