Fixed number of channels in rtsi subdevice
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 12 Jul 2006 02:16:57 +0000 (02:16 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 12 Jul 2006 02:16:57 +0000 (02:16 +0000)
(David MacMahon <davidm@astro.berkeley.edu>)

comedi/drivers/ni_mio_common.c

index 3277cf532a3bae07c9b0a27b78d8798cbb8cfd70..51ad69bd09b6258ed574dfb9eeaa52cec9cfc2eb 100644 (file)
@@ -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;