From: Frank Mori Hess Date: Sun, 15 Jul 2001 01:18:58 +0000 (+0000) Subject: fixed bug in cmd_test X-Git-Tag: r0_7_60~51 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dfc5bf7806ee2579f9e4239102c943571a94c0c3;p=comedi.git fixed bug in cmd_test --- diff --git a/comedi/drivers/das16.c b/comedi/drivers/das16.c index c82aadf8..c6505023 100644 --- a/comedi/drivers/das16.c +++ b/comedi/drivers/das16.c @@ -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++; } }