Remove much #ifdeffery around _DEBUG_JTAG_IO_ usage.
Have DEBUG_JTAG_IO() always trigger necessary warnings. git-svn-id: svn://svn.berlios.de/openocd/trunk@2822 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -28,9 +28,11 @@
|
||||
|
||||
|
||||
#ifdef _DEBUG_JTAG_IO_
|
||||
#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
|
||||
#define DEBUG_JTAG_IO(expr ...) \
|
||||
do { if (1) LOG_DEBUG(expr); } while (0)
|
||||
#else
|
||||
#define DEBUG_JTAG_IO(expr ...)
|
||||
#define DEBUG_JTAG_IO(expr ...) \
|
||||
do { if (0) LOG_DEBUG(expr); } while (0)
|
||||
#endif
|
||||
|
||||
#ifndef DEBUG_JTAG_IOZ
|
||||
|
||||
Reference in New Issue
Block a user