diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-03-14 13:11:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-03-14 13:11:10 +0000 |
commit | dbf48157fb9841ec6ccfcfab01f70eefe8f498ce (patch) | |
tree | c3e04d48e9541d52a4a61c4f71e4e51efd4c3b95 /src/include | |
parent | 6ec06f6ff43f3de71632415dbc27006b17c00af1 (diff) | |
download | ChibiOS-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')
-rw-r--r-- | src/include/debug.h | 6 |
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
|