From: David Schleef Date: Tue, 10 Jul 2001 20:22:40 +0000 (+0000) Subject: Add len_chanlist initialization X-Git-Tag: r0_7_60~80 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84f32c3a7b28b5ea6cb97cee9884e544ba663464;p=comedi.git Add len_chanlist initialization --- 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 */