From: David Schleef Date: Mon, 6 Mar 2000 08:25:58 +0000 (+0000) Subject: fix COMEDI_SUBD_UNUSED bug X-Git-Tag: r0_7_9~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=03f8fd8378131da83ef5dc652a77fe579bb818bb;p=comedilib.git fix COMEDI_SUBD_UNUSED bug --- diff --git a/lib/filler.c b/lib/filler.c index c657fe4..dde1e0e 100644 --- a/lib/filler.c +++ b/lib/filler.c @@ -58,6 +58,7 @@ int get_subdevices(comedi_t *it) for(i=0;in_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;