From db13c7442fc3c1f29a24dcb6855ec33b038d5f6b Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 9 Jul 2001 21:13:10 +0000 Subject: [PATCH] added initialization of s->len_chanlist --- comedi/drivers/cb_pcidas.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.26.2