mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 23:52:51 +00:00
DBG_TYPES_ON removed (must be in lwipopts.h instead).
This commit is contained in:
parent
8613f2a48e
commit
adf088e575
@ -41,7 +41,10 @@
|
|||||||
* - 3 severe
|
* - 3 severe
|
||||||
*/
|
*/
|
||||||
#define DBG_MASK_LEVEL 3
|
#define DBG_MASK_LEVEL 3
|
||||||
|
// LW: moved to lwipopts.h
|
||||||
|
#if 0
|
||||||
#define DBG_TYPES_ON 0
|
#define DBG_TYPES_ON 0
|
||||||
|
#endif
|
||||||
/** print only debug messages with this level or higher */
|
/** print only debug messages with this level or higher */
|
||||||
#define DBG_MIN_LEVEL 0
|
#define DBG_MIN_LEVEL 0
|
||||||
|
|
||||||
@ -50,16 +53,15 @@
|
|||||||
/** flag for DEBUGF to disable the debug message */
|
/** flag for DEBUGF to disable the debug message */
|
||||||
#define DBG_OFF 0x00U
|
#define DBG_OFF 0x00U
|
||||||
|
|
||||||
/** flag for DEBUGF to indicate it is a tracing message (to follow program flow) */
|
/** flag for DEBUGF indicating a tracing message (to follow program flow) */
|
||||||
#define DBG_TRACE 0x40
|
#define DBG_TRACE 0x40
|
||||||
/** flag for DEBUGF to indicate it is a state debug message (to follow states) */
|
/** flag for DEBUGF indicating a state debug message (to follow states) */
|
||||||
#define DBG_STATE 0x20
|
#define DBG_STATE 0x20
|
||||||
/** flag for DEBUGF that indicates newly added code, not thoroughly tested yet */
|
/** flag for DEBUGF indicating newly added code, not thoroughly tested yet */
|
||||||
#define DBG_FRESH 0x10
|
#define DBG_FRESH 0x10
|
||||||
/** flag for DEBUGF to halt after printing this debug message */
|
/** flag for DEBUGF to halt after printing this debug message */
|
||||||
#define DBG_HALT 0x08
|
#define DBG_HALT 0x08
|
||||||
|
|
||||||
|
|
||||||
#ifdef LWIP_DEBUG
|
#ifdef LWIP_DEBUG
|
||||||
|
|
||||||
#define LWIP_ASSERT(x,y) do { if(!(y)) LWIP_PLATFORM_ASSERT(x); } while(0)
|
#define LWIP_ASSERT(x,y) do { if(!(y)) LWIP_PLATFORM_ASSERT(x); } while(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user