From 8c69c8e177c2d050ea13fbd7008545dc3bfc6106 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 6 Mar 2000 08:37:02 +0000 Subject: [PATCH] fixups for commands --- comedi/drivers/ni_mio_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++; } -- 2.26.2