From: Frank Mori Hess Date: Wed, 12 Jul 2006 02:16:57 +0000 (+0000) Subject: Fixed number of channels in rtsi subdevice X-Git-Tag: r0_7_71~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f555b43b20ff00f229519a2a2e45aa4cc552a071;p=comedi.git Fixed number of channels in rtsi subdevice (David MacMahon ) --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 3277cf53..51ad69bd 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -3211,7 +3211,7 @@ static int ni_E_init(comedi_device *dev,comedi_devconfig *it) s=dev->subdevices+10; s->type=COMEDI_SUBD_DIO; s->subdev_flags=SDF_READABLE|SDF_WRITABLE|SDF_INTERNAL; - s->n_chan=8; + s->n_chan=7; s->maxdata=1; s->insn_bits = ni_rtsi_insn_bits; s->insn_config = ni_rtsi_insn_config;