From: Frank Mori Hess Date: Mon, 9 Jul 2001 21:13:10 +0000 (+0000) Subject: added initialization of s->len_chanlist X-Git-Tag: r0_7_60~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db13c7442fc3c1f29a24dcb6855ec33b038d5f6b;p=comedi.git added initialization of s->len_chanlist --- diff --git a/comedi/drivers/cb_pcidas.c b/comedi/drivers/cb_pcidas.c index 418c37b6..c3fe17bf 100644 --- 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;