mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 00:21:26 +08:00
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:
@ -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
|
||||
|
@ -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
|
||||
/**
|
||||
|
Reference in New Issue
Block a user