projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d11ac
)
added initialization of s->len_chanlist
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 9 Jul 2001 21:13:10 +0000
(21:13 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 9 Jul 2001 21:13:10 +0000
(21:13 +0000)
comedi/drivers/cb_pcidas.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/cb_pcidas.c
b/comedi/drivers/cb_pcidas.c
index 418c37b65e39d24424788b2dffcd3861f26f06d9..c3fe17bf405b7b7b65ead91fc45132488865dc29 100644
(file)
--- a/
comedi/drivers/cb_pcidas.c
+++ b/
comedi/drivers/cb_pcidas.c
@@
-520,6
+520,7
@@
found:
s->subdev_flags = SDF_READABLE | SDF_GROUND | SDF_COMMON | SDF_DIFF;
/* WARNING: Number of inputs in differential mode is ignored */
s->n_chan = thisboard->ai_se_chans;
+ s->len_chanlist = thisboard->ai_se_chans;
s->maxdata = (1 << thisboard->ai_bits) - 1;
s->range_table = thisboard->ranges;
s->insn_read = cb_pcidas_ai_rinsn;