From: David Schleef Date: Mon, 6 Mar 2000 08:37:02 +0000 (+0000) Subject: fixups for commands X-Git-Tag: r0_7_40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c69c8e177c2d050ea13fbd7008545dc3bfc6106;p=comedi.git fixups for commands --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index b1de1fff..c2b5604c 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -680,8 +680,8 @@ static int ni_ai_cmdtest(comedi_device *dev,comedi_subdevice *s,comedi_cmd *cmd) ni_ns_to_timer(&cmd->convert_arg,cmd->flags&TRIG_ROUND_MASK); if(tmp!=cmd->convert_arg)err++; if(cmd->scan_begin_src==TRIG_TIMER && - cmd->convert_argscan_begin_arg*cmd->scan_end_arg){ - cmd->convert_arg=cmd->scan_begin_arg*cmd->scan_end_arg; + cmd->scan_begin_argconvert_arg*cmd->scan_end_arg){ + cmd->scan_begin_arg=cmd->convert_arg*cmd->scan_end_arg; err++; }