projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556d24b
)
Fixed reading of alt ai sources with 611x boards.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 2 Jan 2006 00:12:01 +0000
(
00:12
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 2 Jan 2006 00:12:01 +0000
(
00:12
+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 960493d33cd80203bf1ce9c5cb0dd4e67d715b8f..3717d71577701b736dc95f53e961ff125966a7c7 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-1339,7
+1339,7
@@
static void ni_load_channelgain_list(comedi_device *dev,unsigned int n_chan,
if( ( list[i] & CR_ALT_SOURCE ) )
{
if(boardtype.reg_type == ni_reg_611x)
- ni_writew(
CR_CHAN(list[i])&
0x0003, Calibration_Channel_Select_611x);
+ ni_writew(
devpriv->ai_calib_source &
0x0003, Calibration_Channel_Select_611x);
}else
{
if(boardtype.reg_type == ni_reg_611x)