projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d02c56e
)
fix checking of first channel in chanlist for ai cmd
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 29 Nov 2002 22:34:46 +0000
(22:34 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 29 Nov 2002 22:34:46 +0000
(22:34 +0000)
comedi/drivers/ni_labpc.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_labpc.c
b/comedi/drivers/ni_labpc.c
index 09d7aefaa540b0a7a28043116e07e6eafee9e089..ee7d554c157b07530403378e7b87881b0e123e3b 100644
(file)
--- 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)
{