projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4df9f6
)
Yet another iteration.
author
David Schleef
<ds@schleef.org>
Sun, 27 Jan 2002 02:28:10 +0000
(
02:28
+0000)
committer
David Schleef
<ds@schleef.org>
Sun, 27 Jan 2002 02:28:10 +0000
(
02:28
+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 fbc134cf50f10245aa3f2b0b821a105a1e04b01c..0f609f4c52c34d63198fd8f6ec8dcf072d620d0e 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-974,9
+974,9
@@
static void ni_load_channelgain_list(comedi_device *dev,unsigned int n_chan,
hi=ni_modebits1[aref]|(chan&ni_modebits2[aref]);
}else{
/* bits 12-14 channel type */
- /* map everything to differential */
+ /* map everything to differential
, except AREF_OTHER
*/
hi = (aref==AREF_OTHER)?0x0000:0x1000;
- /* bit 11 coupling */
+ /* bit 11
AC/DC
coupling */
/* not handled */
hi |= 0x0000;
/* bits 0-2 channel */