fixed bug in cmd_test
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 15 Jul 2001 01:18:58 +0000 (01:18 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 15 Jul 2001 01:18:58 +0000 (01:18 +0000)
comedi/drivers/das16.c

index c82aadf8e51b918b9a538a2abb5b1fbbac313c09..c6505023b9fc1b124b12035308fba1bf74ecae7b 100644 (file)
@@ -678,7 +678,7 @@ static int das16_cmd_test(comedi_device *dev,comedi_subdevice *s, comedi_cmd *cm
        {
                if(cmd->scan_begin_arg < thisboard->ai_speed * cmd->chanlist_len)
                {
-                       cmd->convert_arg = thisboard->ai_speed * cmd->chanlist_len;
+                       cmd->scan_begin_arg = thisboard->ai_speed * cmd->chanlist_len;
                        err++;
                }
        }