Skip to content

Commit 011684b

Browse files
committed
zephyr/modusocket: Use DEBUG_PRINT macro name as other modules do.
Indeed, just "DEBUG" is too generic.
1 parent 22fdb91 commit 011684b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

zephyr/modusocket.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
#include <net/net_pkt.h>
3939
#include <net/dns_resolve.h>
4040

41-
#define DEBUG 0
42-
#if DEBUG // print debugging info
41+
#define DEBUG_PRINT 0
42+
#if DEBUG_PRINT // print debugging info
4343
#define DEBUG_printf printf
4444
#else // don't print debugging info
4545
#define DEBUG_printf(...) (void)0
@@ -165,7 +165,7 @@ static void sock_received_cb(struct net_context *context, struct net_pkt *pkt, i
165165
DEBUG_printf(" (appdatalen=%d), token: %p", pkt->appdatalen, net_pkt_token(pkt));
166166
}
167167
DEBUG_printf("\n");
168-
#if DEBUG > 1
168+
#if DEBUG_PRINT > 1
169169
net_pkt_print_frags(pkt);
170170
#endif
171171

0 commit comments

Comments
 (0)