summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk6
-rw-r--r--src/phFriNfc_Llcp.c2
-rw-r--r--src/phHciNfc_Generic.h4
3 files changed, 8 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index c5182c2..2c2220b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -116,6 +116,12 @@ LOCAL_CFLAGS += -DNXP_MESSAGING -DANDROID -fno-strict-aliasing
# Uncomment for LLC traces
# LOCAL_CFLAGS += -DDEBUG -DLLC_TRACE
+# Uncomment for LLCP traces
+# LOCAL_CFLAGS += -DDEBUG -DLLCP_TRACE
+
+# Uncomment for HCI traces
+# LOCAL_CFLAGS += -DDEBUG -DHCI_TRACE
+
#includes
LOCAL_CFLAGS += -I$(LOCAL_PATH)/inc
LOCAL_CFLAGS += -I$(LOCAL_PATH)/Linux_x86
diff --git a/src/phFriNfc_Llcp.c b/src/phFriNfc_Llcp.c
index 8f2987f..8b2624e 100644
--- a/src/phFriNfc_Llcp.c
+++ b/src/phFriNfc_Llcp.c
@@ -759,6 +759,8 @@ static void phFriNfc_Llcp_ResetLTO( phFriNfc_Llcp_t *Llcp )
nDuration = (Llcp->sLocalParams.lto * 10) / 2;
}
+ LLCP_DEBUG("Starting LLCP timer with duration %d", nDuration);
+
/* Restart timer */
phOsalNfc_Timer_Start(
Llcp->hSymmTimer,
diff --git a/src/phHciNfc_Generic.h b/src/phHciNfc_Generic.h
index 495e89f..16ffa0e 100644
--- a/src/phHciNfc_Generic.h
+++ b/src/phHciNfc_Generic.h
@@ -66,10 +66,6 @@
################################################################################
*/
-#if defined(DEBUG) /*|| defined(_DEBUG) */
-#define HCI_TRACE
-#endif
-
#define Trace_buffer phOsalNfc_DbgTraceBuffer
/* HCI TRACE Macros */