aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/debug.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-14 13:11:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-14 13:11:10 +0000
commitdbf48157fb9841ec6ccfcfab01f70eefe8f498ce (patch)
treec3e04d48e9541d52a4a61c4f71e4e51efd4c3b95 /src/include/debug.h
parent6ec06f6ff43f3de71632415dbc27006b17c00af1 (diff)
downloadChibiOS-dbf48157fb9841ec6ccfcfab01f70eefe8f498ce.tar.gz
ChibiOS-dbf48157fb9841ec6ccfcfab01f70eefe8f498ce.tar.bz2
ChibiOS-dbf48157fb9841ec6ccfcfab01f70eefe8f498ce.zip
Made the scheduler code more readable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@849 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/debug.h')
-rw-r--r--src/include/debug.h6
1 files changed, 6 insertions, 0 deletions
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