summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 11:37:15 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 11:37:15 +0000
commit5b4679618a0f1b14f6ee47fc30cf27f77375f2d4 (patch)
tree0b4c00995047be396a92bf8317ee3b1d8d2f4778 /src/jtag/jtag.h
parent837555ab24ab32af163b5dd295dcdbc3c238ad6f (diff)
downloadopenocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.tar.gz
openocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.tar.bz2
openocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.tar.xz
openocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.zip
Zach Welch <zw@superlucidity.net> add --enable-verbose* options
git-svn-id: svn://svn.berlios.de/openocd/trunk@1495 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 64f80480..4f348062 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -30,8 +30,10 @@
#include "command.h"
-#if 0
-#define _DEBUG_JTAG_IO_
+#ifdef _DEBUG_JTAG_IO_
+#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
+#else
+#define DEBUG_JTAG_IO(expr ...)
#endif
#ifndef DEBUG_JTAG_IOZ