From a9613030bbe9daa63ebded17989f57cb30b4f075 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 29 Nov 2002 22:34:46 +0000 Subject: [PATCH] fix checking of first channel in chanlist for ai cmd --- comedi/drivers/ni_labpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.26.2