From: Frank Mori Hess Date: Tue, 20 May 2003 17:18:01 +0000 (+0000) Subject: really fixed munging for pio boards X-Git-Tag: r0_7_67x~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2543dc0fffe11ea38c0fb325cb06deaecf4a7156;p=comedi.git really fixed munging for pio boards --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 19461876..286fa0f3 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -859,6 +859,8 @@ static void ni_ai_fifo_read(comedi_device *dev,comedi_subdevice *s, }else{ for(i=0;iai_offset[ async->cur_chan++ ]; + async->cur_chan %= async->cmd.chanlist_len; err &= comedi_buf_put(async, data); } }