From: Frank Mori Hess Date: Sun, 4 Dec 2005 03:20:08 +0000 (+0000) Subject: use win_out2 macro for write to AI_SC_Load_A_Registers X-Git-Tag: r0_7_71~112 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d29124cf81553a819886f3b4abc2142fa7e5fc9;p=comedi.git use win_out2 macro for write to AI_SC_Load_A_Registers --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 06e505b9..ded65878 100644 --- 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);