From f24d487edb1903b0543a86475dd3c58e5306bf82 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 21 Jun 2006 16:31:54 +0000 Subject: [PATCH] Fix gcc-4.1 warnings (undefined macro in #if). --- comedi/drivers/fl512.c | 2 ++ comedi/drivers/poc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.26.2