adl_traces.h - inline documentation misplaced


#1

The documentation comments (doxygen?) for TRACE and DUMP in adl_traces.h are in the wrong place! :unamused:

TRACE and DUMP have null definitions when DEBUG_APP is not defined; but the comments are placed in the #else clause - meaning that the comments are only ever seen when these macros are disabled!!

#ifdef __DEBUG_APP__
// With the __DEBUG_APP__ flag, define TRACE and DUMP macros

#define TRACE(_X_)          adl_trcPrint _X_
#define DUMP(_lvl_,_P_,_L_) adl_trcDump  ( _lvl_, ( u8 * ) _P_, _L_ )


#else

See also: viewtopic.php?f=78&t=4426&start=0