diff --git a/components/lwip/include/lwip/port/arch/cc.h b/components/lwip/include/lwip/port/arch/cc.h index 6fc1da184..3213c6667 100644 --- a/components/lwip/include/lwip/port/arch/cc.h +++ b/components/lwip/include/lwip/port/arch/cc.h @@ -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__ */