projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d6364
)
fixups for commands
r0_7_40
author
David Schleef
<ds@schleef.org>
Mon, 6 Mar 2000 08:37:02 +0000
(08:37 +0000)
committer
David Schleef
<ds@schleef.org>
Mon, 6 Mar 2000 08:37:02 +0000
(08:37 +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 b1de1fff11bd84862c13529085c1029658535b25..c2b5604c4bd159c8f634bde1d65a988baf14933b 100644
(file)
--- 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_arg<cmd->scan_begin
_arg*cmd->scan_end_arg){
- cmd->
convert_arg=cmd->scan_begin
_arg*cmd->scan_end_arg;
+ cmd->
scan_begin_arg<cmd->convert
_arg*cmd->scan_end_arg){
+ cmd->
scan_begin_arg=cmd->convert
_arg*cmd->scan_end_arg;
err++;
}