aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/debug.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-18 20:05:08 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-18 20:05:08 +0000
commite4534bc973bd77cfb41d82539e2eb7e9798001d8 (patch)
treef17773f2b01e313d3a9f7a2737d745f43f8394b3 /src/include/debug.h
parent07e6ae3a59c7191facaaada4b4549587ae5ed0fa (diff)
downloadChibiOS-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/include/debug.h')
-rw-r--r--src/include/debug.h5
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