From c6120bcda7d7b6cfc48e7efc52c8931c0a1df20d Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 5 Apr 2002 01:06:00 +0000 Subject: [PATCH] fixed count of number of conversion completed using pio --- comedi/drivers/cb_pcidas64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/drivers/cb_pcidas64.c b/comedi/drivers/cb_pcidas64.c index 773cdc45..d290b0a0 100644 --- a/comedi/drivers/cb_pcidas64.c +++ b/comedi/drivers/cb_pcidas64.c @@ -1696,6 +1696,7 @@ static void pio_drain_ai_fifo_32(comedi_device *dev) } read_code = readw(private(dev)->main_iobase + ADC_READ_PNTR_REG) & 0x7fff; } + private(dev)->ai_count -= i; } // empty fifo -- 2.26.2