From d8a5dbcfdcc9d056bcea40ac77e0c10e4be6024a Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 9 Nov 2001 20:26:17 +0000 Subject: [PATCH] fixed bug with checking number of caldac channels noted by Amish Dave --- 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 8e69f0b4..76754c46 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -2178,7 +2178,7 @@ static void caldac_setup(comedi_device *dev,comedi_subdevice *s) if(diffbits){ int chan; - if(n_chans>=MAX_N_CALDACS){ + if(n_chans>MAX_N_CALDACS){ printk("BUG! MAX_N_CALDACS too small\n"); } s->maxdata_list=devpriv->caldac_maxdata_list; -- 2.26.2