diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-03-18 20:05:08 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-03-18 20:05:08 +0000 |
commit | e4534bc973bd77cfb41d82539e2eb7e9798001d8 (patch) | |
tree | f17773f2b01e313d3a9f7a2737d745f43f8394b3 /src | |
parent | 07e6ae3a59c7191facaaada4b4549587ae5ed0fa (diff) | |
download | ChibiOS-e4534bc973bd77cfb41d82539e2eb7e9798001d8.tar.gz ChibiOS-e4534bc973bd77cfb41d82539e2eb7e9798001d8.tar.bz2 ChibiOS-e4534bc973bd77cfb41d82539e2eb7e9798001d8.zip |
Minor fixes to the documentation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@853 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/include/debug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/debug.h b/src/include/debug.h index 27f316188..19a7cb7d4 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -129,12 +129,13 @@ typedef struct { #ifdef __cplusplus
extern "C" {
#endif
-#if CH_DBG_ENABLE_TRACE
+#if !defined(__DOXYGEN__) && CH_DBG_ENABLE_TRACE
extern TraceBuffer trace_buffer;
void trace_init(void);
void chDbgTrace(Thread *otp, Thread *ntp);
#endif
-#if CH_DBG_ENABLE_ASSERTS || CH_DBG_ENABLE_CHECKS || CH_DBG_ENABLE_STACK_CHECK
+#if !defined(__DOXYGEN__) && \
+ (CH_DBG_ENABLE_ASSERTS || CH_DBG_ENABLE_CHECKS || CH_DBG_ENABLE_STACK_CHECK)
extern char *panic_msg;
void chDbgPanic(char *msg);
#endif
|