git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1600 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2010-02-13 15:55:52 +00:00
parent c690337d17
commit 4f37deada8
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@
#define THREAD_FILL_VALUE 0xFF #define THREAD_FILL_VALUE 0xFF
#endif #endif
#if CH_DBG_ENABLE_TRACE || defined(__DOXYGEN__)
/** /**
* @brief Trace buffer record. * @brief Trace buffer record.
*/ */
@ -77,6 +78,7 @@ typedef struct {
/** @brief Ring buffer.*/ /** @brief Ring buffer.*/
CtxSwcEvent tb_buffer[TRACE_BUFFER_SIZE]; CtxSwcEvent tb_buffer[TRACE_BUFFER_SIZE];
} TraceBuffer; } TraceBuffer;
#endif /* CH_DBG_ENABLE_TRACE */
#define __QUOTE_THIS(p) #p #define __QUOTE_THIS(p) #p