From: Frank Mori Hess Date: Fri, 29 Nov 2002 22:34:46 +0000 (+0000) Subject: fix checking of first channel in chanlist for ai cmd X-Git-Tag: r0_7_67x~147 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a9613030bbe9daa63ebded17989f57cb30b4f075;p=comedi.git fix checking of first channel in chanlist for ai cmd --- diff --git a/comedi/drivers/ni_labpc.c b/comedi/drivers/ni_labpc.c index 09d7aefa..ee7d554c 100644 --- a/comedi/drivers/ni_labpc.c +++ b/comedi/drivers/ni_labpc.c @@ -969,7 +969,7 @@ static int labpc_ai_cmdtest(comedi_device *dev,comedi_subdevice *s,comedi_cmd *c { scan_up = 1; } - for(i = 1; i < cmd->chanlist_len; i++) + for(i = 0; i < cmd->chanlist_len; i++) { if(scan_up == 0) {