summaryrefslogtreecommitdiffstats
path: root/jni/com_android_nfc.h
diff options
context:
space:
mode:
Diffstat (limited to 'jni/com_android_nfc.h')
-rw-r--r--jni/com_android_nfc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/jni/com_android_nfc.h b/jni/com_android_nfc.h
index a44bcf0..b876dad 100644
--- a/jni/com_android_nfc.h
+++ b/jni/com_android_nfc.h
@@ -112,9 +112,11 @@ extern "C" {
#if 0
#define LOG_CALLBACK(funcName, status) LOG_PRI(GET_LEVEL(status), LOG_TAG, "Callback: %s() - status=0x%04x[%s]", funcName, status, nfc_jni_get_status_name(status));
#define TRACE(...) ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__)
+ #define TRACE_ENABLED 1
#else
#define LOG_CALLBACK(...)
#define TRACE(...)
+ #define TRACE_ENABLED 0
#endif
struct nfc_jni_native_data