projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08008a6
)
Hand-applied patch from Rolf Mueller <rolf.mueller@uni-tuebingen.de>.
author
David Schleef
<ds@schleef.org>
Fri, 8 Mar 2002 22:44:05 +0000
(22:44 +0000)
committer
David Schleef
<ds@schleef.org>
Fri, 8 Mar 2002 22:44:05 +0000
(22:44 +0000)
Most of the patch was obsoleted by the previous check-in.
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 d18d2b62a7f4a4f19a330c445f88af1f71a876a6..878b2a87ed92c100b69a9df58941c1722aabb108 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-1516,8
+1516,10
@@
static void ni_ao_fifo_load(comedi_device *dev,comedi_subdevice *s,
// do any munging necessary
ni_ao_munge(dev, s, data, n);
- for(i=0;i<n;i++){
- ni_writew(data[i],DAC_FIFO_Data);
+ if(boardtype.reg_611x){
+ for(i=0;i<n;i++)ni_writew(data[i],DAC_FIFO_Data_611x);
+ }else{
+ for(i=0;i<n;i++)ni_writew(data[i],DAC_FIFO_Data);
}
// increment channel index