Fix gcc-4.1 warnings (undefined macro in #if).
authorIan Abbott <abbotti@mev.co.uk>
Wed, 21 Jun 2006 16:31:54 +0000 (16:31 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 21 Jun 2006 16:31:54 +0000 (16:31 +0000)
comedi/drivers/fl512.c
comedi/drivers/poc.c

index fc42a641ec63e51c017b62fef2d78cc8cc4a2d8f..5cca26890bd9dd65503283e1af2047587620aca8 100644 (file)
@@ -16,6 +16,8 @@ Configuration options:
   [0] - I/O port base address
 */
 
+#define DEBUG 0
+
 #include <linux/comedidev.h>
 
 #include <linux/delay.h>
index 8dc2dd1b5493a66db07c333ca9d5ebb79d2d6346..df51a5a49296c4f5ae301e65d769c86c371a04a9 100644 (file)
@@ -190,7 +190,7 @@ static int dac02_ao_winsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *in
        chan = CR_CHAN(insn->chanspec);
        ((lsampl_t *)dev->private)[chan] = data[0];
        output = data[0];
-#if wrong
+#ifdef wrong
        // convert to complementary binary if range is bipolar
        if((CR_RANGE(insn->chanspec) & 0x2) == 0)
                output = ~output;