enabled use of instructions for dio_bits
authorDavid Schleef <ds@schleef.org>
Thu, 1 Mar 2001 21:58:28 +0000 (21:58 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 1 Mar 2001 21:58:28 +0000 (21:58 +0000)
lib/dio.c

index ff453dd0a78185f9db415d9642c38bae6d4892c2..6dd5da5d0256d125467c785b06d07a1969043c3a 100644 (file)
--- a/lib/dio.c
+++ b/lib/dio.c
@@ -49,7 +49,6 @@ int comedi_dio_config(comedi_t *it,unsigned int subdev,unsigned int chan,unsigne
        if(io!=COMEDI_INPUT && io!=COMEDI_OUTPUT)
                return -1;
 
-#if 0
        if(s->has_insn){
                comedi_insn insn;
                lsampl_t data;
@@ -64,7 +63,6 @@ int comedi_dio_config(comedi_t *it,unsigned int subdev,unsigned int chan,unsigne
 
                return comedi_do_insn(it,&insn);
        }else
-#endif
        {
                comedi_trig trig;
                lsampl_t data=io;