mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
lwip: Enable LWIP assertions unless they are disabled globally
This commit is contained in:
committed by
Angus Gratton
parent
1c6510ed96
commit
8f4fc209a1
@@ -69,8 +69,9 @@ typedef int sys_prot_t;
|
||||
#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
|
||||
#define LWIP_PLATFORM_ASSERT(x) do {printf(x); sys_arch_assert(__FILE__, __LINE__);} while(0)
|
||||
|
||||
//#define LWIP_DEBUG
|
||||
#ifdef NDEBUG
|
||||
#define LWIP_NOASSERT
|
||||
#endif
|
||||
//#define LWIP_ERROR
|
||||
|
||||
#endif /* __ARCH_CC_H__ */
|
||||
|
Reference in New Issue
Block a user