summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--zephyr/modusocket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/modusocket.c b/zephyr/modusocket.c
index 80339a2bdd..0a54ea576c 100644
--- a/zephyr/modusocket.c
+++ b/zephyr/modusocket.c
@@ -38,8 +38,8 @@
#include <net/net_pkt.h>
#include <net/dns_resolve.h>
-#define DEBUG 0
-#if DEBUG // print debugging info
+#define DEBUG_PRINT 0
+#if DEBUG_PRINT // print debugging info
#define DEBUG_printf printf
#else // don't print debugging info
#define DEBUG_printf(...) (void)0
@@ -165,7 +165,7 @@ static void sock_received_cb(struct net_context *context, struct net_pkt *pkt, i
DEBUG_printf(" (appdatalen=%d), token: %p", pkt->appdatalen, net_pkt_token(pkt));
}
DEBUG_printf("\n");
- #if DEBUG > 1
+ #if DEBUG_PRINT > 1
net_pkt_print_frags(pkt);
#endif