projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45baf16
)
use win_out2 macro for write to AI_SC_Load_A_Registers
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 4 Dec 2005 03:20:08 +0000
(
03:20
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 4 Dec 2005 03:20:08 +0000
(
03:20
+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 06e505b9811fafe460d2f62fa69d638e0231f094..ded658787dcc5b78e4a55320f710411aaffbb171 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-1637,8
+1637,7
@@
static int ni_ai_cmd(comedi_device *dev,comedi_subdevice *s)
break;
case TRIG_NONE:
/* stage number of scans */
- win_out(0,AI_SC_Load_A_Registers);
- win_out(0,AI_SC_Load_A_Registers+1);
+ win_out2(0,AI_SC_Load_A_Registers);
mode1 |= AI_Start_Stop | AI_Mode_1_Reserved | AI_Continuous;
win_out(mode1,AI_Mode_1_Register);