aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-13 15:55:52 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-13 15:55:52 +0000
commit4f37deada8ee204662935e59370cb87cde193386 (patch)
treef9664dfb9e3fcb513dcd8790c9653fca3c7f9c93 /os
parentc690337d17d2964eee62aacd4dd87085c29da2d9 (diff)
downloadChibiOS-4f37deada8ee204662935e59370cb87cde193386.tar.gz
ChibiOS-4f37deada8ee204662935e59370cb87cde193386.tar.bz2
ChibiOS-4f37deada8ee204662935e59370cb87cde193386.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1600 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/kernel/include/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/kernel/include/debug.h b/os/kernel/include/debug.h
index 000639782..b60171866 100644
--- a/os/kernel/include/debug.h
+++ b/os/kernel/include/debug.h
@@ -53,6 +53,7 @@
#define THREAD_FILL_VALUE 0xFF
#endif
+#if CH_DBG_ENABLE_TRACE || defined(__DOXYGEN__)
/**
* @brief Trace buffer record.
*/
@@ -77,6 +78,7 @@ typedef struct {
/** @brief Ring buffer.*/
CtxSwcEvent tb_buffer[TRACE_BUFFER_SIZE];
} TraceBuffer;
+#endif /* CH_DBG_ENABLE_TRACE */
#define __QUOTE_THIS(p) #p