From 84f32c3a7b28b5ea6cb97cee9884e544ba663464 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 10 Jul 2001 20:22:40 +0000 Subject: [PATCH] Add len_chanlist initialization --- comedi/drivers/skel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/comedi/drivers/skel.c b/comedi/drivers/skel.c index 5b5424e2..3b34cb2b 100644 --- a/comedi/drivers/skel.c +++ b/comedi/drivers/skel.c @@ -187,9 +187,11 @@ static int skel_attach(comedi_device *dev,comedi_devconfig *it) s->n_chan=thisboard->ai_chans; s->maxdata=(1<ai_bits)-1; s->range_table=&range_bipolar10; + s->len_chanlist=16; /* This is the maximum chanlist length that + the board can handle */ s->insn_read = &skel_ai_rinsn; //s->do_cmd = &skel_ai_cmd; - s->do_cmdtest = &skel_ai_cmdtest; + s->do_cmdtest = skel_ai_cmdtest; s=dev->subdevices+1; /* analog output subdevice */ -- 2.26.2