projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5d16a5
)
really fixed munging for pio boards
author
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 20 May 2003 17:18:01 +0000
(17:18 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 20 May 2003 17:18:01 +0000
(17:18 +0000)
comedi/drivers/ni_mio_common.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_mio_common.c
b/comedi/drivers/ni_mio_common.c
index 19461876645df7374fc51d267c4929fcd088d481..286fa0f37eacc9a32d9434b1f6eceb0d887162b3 100644
(file)
--- 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;i<n;i++){
data=ni_readw(ADC_FIFO_Data_Register);
+ data += devpriv->ai_offset[ async->cur_chan++ ];
+ async->cur_chan %= async->cmd.chanlist_len;
err &= comedi_buf_put(async, data);
}
}