Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy