mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
lwip: Fix LWIP_DEBUG define which is always defined
This commit is contained in:
@@ -1014,7 +1014,11 @@
|
||||
/**
|
||||
* LWIP_DEBUG: Enable lwip debugging in other modules.
|
||||
*/
|
||||
#define LWIP_DEBUG LWIP_DBG_OFF
|
||||
#ifdef CONFIG_LWIP_DEBUG
|
||||
#define LWIP_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#undef LWIP_DEBUG
|
||||
#endif
|
||||
|
||||
#define CHECKSUM_CHECK_UDP CONFIG_LWIP_CHECKSUM_CHECK_UDP
|
||||
#define CHECKSUM_CHECK_IP CONFIG_LWIP_CHECKSUM_CHECK_IP
|
||||
|
Reference in New Issue
Block a user