From: Ian Abbott Date: Wed, 21 Jun 2006 16:31:54 +0000 (+0000) Subject: Fix gcc-4.1 warnings (undefined macro in #if). X-Git-Tag: r0_7_71~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f24d487edb1903b0543a86475dd3c58e5306bf82;p=comedi.git Fix gcc-4.1 warnings (undefined macro in #if). --- diff --git a/comedi/drivers/fl512.c b/comedi/drivers/fl512.c index fc42a641..5cca2689 100644 --- a/comedi/drivers/fl512.c +++ b/comedi/drivers/fl512.c @@ -16,6 +16,8 @@ Configuration options: [0] - I/O port base address */ +#define DEBUG 0 + #include #include diff --git a/comedi/drivers/poc.c b/comedi/drivers/poc.c index 8dc2dd1b..df51a5a4 100644 --- a/comedi/drivers/poc.c +++ b/comedi/drivers/poc.c @@ -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;