lwip: Enable LWIP assertions unless they are disabled globally

This commit is contained in:
Angus Gratton 2017-06-22 17:17:10 +10:00 committed by Angus Gratton
parent 1c6510ed96
commit 8f4fc209a1

View file

@ -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__ */