From: Frank Mori Hess Date: Fri, 14 Jan 2005 01:23:13 +0000 (+0000) Subject: fix for cmdtest check of start_arg, from Ian Abbott X-Git-Tag: r0_7_70~64 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=977716472620ee4aa28c5c430473ce23e103bc8b;p=comedi.git fix for cmdtest check of start_arg, from Ian Abbott --- diff --git a/comedi/drivers/8255.c b/comedi/drivers/8255.c index 4d7354c0..09d69821 100644 --- a/comedi/drivers/8255.c +++ b/comedi/drivers/8255.c @@ -253,7 +253,7 @@ static int subdev_8255_cmdtest(comedi_device *dev, comedi_subdevice *s, /* step 3 */ if(cmd->start_arg != 0){ - cmd->start_arg = 1; + cmd->start_arg = 0; err++; } if(cmd->scan_begin_arg!=0){