From 03f8fd8378131da83ef5dc652a77fe579bb818bb Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 6 Mar 2000 08:25:58 +0000 Subject: [PATCH] fix COMEDI_SUBD_UNUSED bug --- lib/filler.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.26.2