From adf088e575ac82c503ce7e087123daf46f60bd2d Mon Sep 17 00:00:00 2001 From: likewise Date: Mon, 10 Mar 2003 16:07:50 +0000 Subject: [PATCH] DBG_TYPES_ON removed (must be in lwipopts.h instead). --- src/include/lwip/debug.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/include/lwip/debug.h b/src/include/lwip/debug.h index 3d4e34cb..90811454 100644 --- a/src/include/lwip/debug.h +++ b/src/include/lwip/debug.h @@ -41,7 +41,10 @@ * - 3 severe */ #define DBG_MASK_LEVEL 3 +// LW: moved to lwipopts.h +#if 0 #define DBG_TYPES_ON 0 +#endif /** print only debug messages with this level or higher */ #define DBG_MIN_LEVEL 0 @@ -50,16 +53,15 @@ /** flag for DEBUGF to disable the debug message */ #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 -/** 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 -/** 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 /** flag for DEBUGF to halt after printing this debug message */ #define DBG_HALT 0x08 - #ifdef LWIP_DEBUG #define LWIP_ASSERT(x,y) do { if(!(y)) LWIP_PLATFORM_ASSERT(x); } while(0)