From dbf48157fb9841ec6ccfcfab01f70eefe8f498ce Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 14 Mar 2009 13:11:10 +0000 Subject: Made the scheduler code more readable. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@849 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/debug.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include/debug.h') diff --git a/src/include/debug.h b/src/include/debug.h index 82e784040..3c51f0837 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -118,6 +118,12 @@ typedef struct { #define chDbgPanic(msg) {} #endif +#if !CH_DBG_ENABLE_TRACE +/* When the trace feature is disabled this function is replaced by an empty + * macro.*/ +#define chDbgTrace(otp, ntp) {} +#endif + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.3