pcl816: bug fix: AI scan counter was being updated after every channel in
authorIan Abbott <abbotti@mev.co.uk>
Mon, 18 Jan 2010 16:25:33 +0000 (16:25 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 18 Jan 2010 16:25:33 +0000 (16:25 +0000)
commit9679e9e113c547dd1fc7e037f0cee7bb14a3d325
treed289aadf3730ef8a6dca17a67733afb0ba130af8
parent839ff6c9b79b233502c261f67beda6d2832692e8
pcl816: bug fix: AI scan counter was being updated after every channel in
non-DMA mode, or after every repeated segment of the channel list in DMA
mode.  Keep track of the current channel for each sample and update the
scan counter at the end of the scan.
comedi/drivers/pcl816.c