Browse Source

ARM11: fix dbgtap JTAG_DEBUG

There is no DEBUG() macro; don't call one!  Always at
least *parse* debug code, to help prevent such errors.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
tags/v0.4.0-rc1
David Brownell 14 years ago
parent
commit
30f6142fc8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/target/arm11_dbgtap.c

+ 2
- 2
src/target/arm11_dbgtap.c View File

@@ -30,9 +30,9 @@
#include "time_support.h"

#if 0
#define JTAG_DEBUG(expr ...) DEBUG(expr)
#define JTAG_DEBUG(expr ...) do { if (1) LOG_DEBUG(expr); } while (0)
#else
#define JTAG_DEBUG(expr ...) do {} while (0)
#define JTAG_DEBUG(expr ...) do { if (0) LOG_DEBUG(expr); } while (0)
#endif

/*


Loading…
Cancel
Save