From bae976ae0ee70d6a48df306530c3513190cec9c7 Mon Sep 17 00:00:00 2001 From: liuzhifu Date: Mon, 29 Aug 2016 14:32:38 +0800 Subject: [PATCH] components:lwip disable debug info of lwip --- components/lwip/include/lwip/port/lwipopts.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/lwip/include/lwip/port/lwipopts.h b/components/lwip/include/lwip/port/lwipopts.h index d2501d7fbf..c819b8d889 100755 --- a/components/lwip/include/lwip/port/lwipopts.h +++ b/components/lwip/include/lwip/port/lwipopts.h @@ -469,7 +469,7 @@ extern unsigned char misc_prof_get_tcp_snd_buf(void); /** * SOCKETS_DEBUG: Enable debugging in sockets.c. */ -#define SOCKETS_DEBUG LWIP_DBG_ON +#define SOCKETS_DEBUG LWIP_DBG_OFF /** * ICMP_DEBUG: Enable debugging in icmp.c. @@ -505,9 +505,9 @@ extern unsigned char misc_prof_get_tcp_snd_buf(void); * DHCP_DEBUG: Enable debugging in dhcp.c. */ #define DHCP_DEBUG LWIP_DBG_OFF -#define LWIP_DEBUG 1 -#define TCP_DEBUG LWIP_DBG_ON -#define THREAD_SAFE_DEBUG LWIP_DBG_ON +#define LWIP_DEBUG 0 +#define TCP_DEBUG LWIP_DBG_OFF +#define THREAD_SAFE_DEBUG LWIP_DBG_OFF #define LWIP_THREAD_SAFE 1 #define CHECKSUM_CHECK_UDP 0