Merge branch 'bugfix/lwip_config' into 'master'

feat(lwip): Minor fix for debug configuration

See merge request sdk/ESP8266_RTOS_SDK!122
This commit is contained in:
Wu Jian Gang
2018-05-03 15:23:53 +08:00
2 changed files with 8 additions and 3 deletions

View File

@ -62,8 +62,6 @@ typedef int sys_prot_t;
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END
//#define LWIP_DEBUG
#include <stdio.h>
#ifndef os_printf

View File

@ -1884,6 +1884,13 @@
*/
#define LWIP_DBG_TYPES_ON LWIP_DBG_ON
/**
* Enable debug message printing.
*/
#if CONFIG_LWIP_DEBUG
#define LWIP_DEBUG
#endif
/**
* ETHARP_DEBUG: Enable debugging in etharp.c.
*/
@ -2112,7 +2119,7 @@
/**
* IP6_DEBUG: Enable debugging for IPv6.
*/
#if LWIP_DBG_ONIP6_DEBUG
#if CONFIG_LWIP_IP6_DEBUG
#define IP6_DEBUG LWIP_DBG_ON
#endif
/**