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>
This commit is contained in:
parent
acbe054a38
commit
30f6142fc8
|
@ -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…
Reference in New Issue