From f555b43b20ff00f229519a2a2e45aa4cc552a071 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 12 Jul 2006 02:16:57 +0000 Subject: [PATCH] Fixed number of channels in rtsi subdevice (David MacMahon ) --- comedi/drivers/ni_mio_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2