summaryrefslogtreecommitdiffstats
path: root/adb/adb.h
diff options
context:
space:
mode:
Diffstat (limited to 'adb/adb.h')
-rw-r--r--adb/adb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/adb/adb.h b/adb/adb.h
index 6f5f997..89a233f 100644
--- a/adb/adb.h
+++ b/adb/adb.h
@@ -338,6 +338,9 @@ void put_apacket(apacket *p);
int check_header(apacket *p);
int check_data(apacket *p);
+// Define it if you want to dump packets.
+#define DEBUG_PACKETS 0
+
#if !DEBUG_PACKETS
#define print_packet(tag,p) do {} while (0)
#endif