fix to bug in fifo overflow check I created with last revision
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 11 Jun 2001 22:38:34 +0000 (22:38 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 11 Jun 2001 22:38:34 +0000 (22:38 +0000)
comedi/drivers/das800.c

index 78bed8b22fcc6cb917f64bdd91bc02d43fbff01b..278ff6c165b2ac909bdd6831b30431ef8a6fd303 100644 (file)
@@ -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