projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f060f85
)
fix COMEDI_SUBD_UNUSED bug
author
David Schleef
<ds@schleef.org>
Mon, 6 Mar 2000 08:25:58 +0000
(08:25 +0000)
committer
David Schleef
<ds@schleef.org>
Mon, 6 Mar 2000 08:25:58 +0000
(08:25 +0000)
lib/filler.c
patch
|
blob
|
history
diff --git
a/lib/filler.c
b/lib/filler.c
index c657fe4ade7c2ec577c68bfbfb24bb18610e4b22..dde1e0e095b6838ad43793339483c8014b1616e0 100644
(file)
--- a/
lib/filler.c
+++ b/
lib/filler.c
@@
-58,6
+58,7
@@
int get_subdevices(comedi_t *it)
for(i=0;i<it->n_subdevices;i++){
r[i].type = s[i].type;
+ if(r[i].type==COMEDI_SUBD_UNUSED)continue;
r[i].n_chan = s[i].n_chan;
r[i].subd_flags = s[i].subd_flags;
r[i].timer_type = s[i].timer_type;