Misc ...
FossilOrigin-Name: 968d10c26f0cd7ba32e00b75d6af37d689aade5c2098caa9e2113bc3df285fb1
This commit is contained in:
@ -58,9 +58,8 @@ void cw_dbg_packet(struct conn *conn, uint8_t * packet, int len);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup DebugOptions Dbug Options
|
||||
* @defgroup DebugOptions Debug Options
|
||||
* @{
|
||||
*/
|
||||
|
||||
@ -158,7 +157,10 @@ extern struct cw_str cw_dbg_strings[];
|
||||
|
||||
|
||||
|
||||
#define cw_dbg(type,...) cw_dbg_colored(type,__FILE__,__LINE__,__VA_ARGS__)
|
||||
#define cw_dbg(type,...)\
|
||||
if (cw_dbg_is_level(type)) cw_dbg_colored(type,__FILE__,__LINE__,__VA_ARGS__)
|
||||
|
||||
|
||||
#define cw_dbg_dmp(type,...) cw_dbg_dmp_(type,__FILE__,__LINE__,__VA_ARGS__)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user