From: Frank Mori Hess Date: Fri, 5 Apr 2002 01:06:00 +0000 (+0000) Subject: fixed count of number of conversion completed using pio X-Git-Tag: r0_7_65~114 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c6120bcda7d7b6cfc48e7efc52c8931c0a1df20d;p=comedi.git fixed count of number of conversion completed using pio --- 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