projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266b503
)
fixed bug with checking number of caldac channels noted by Amish Dave
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 9 Nov 2001 20:26:17 +0000
(20:26 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 9 Nov 2001 20:26:17 +0000
(20:26 +0000)
comedi/drivers/ni_mio_common.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_mio_common.c
b/comedi/drivers/ni_mio_common.c
index 8e69f0b478178121f5c6a666e5811902f52a5bb9..76754c4666f0d8d65a8bfb09128abb37ebad24a0 100644
(file)
--- 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;