From e4534bc973bd77cfb41d82539e2eb7e9798001d8 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 18 Mar 2009 20:05:08 +0000 Subject: [PATCH] Minor fixes to the documentation. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@853 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/debug.h | 5 +++-- 1 file 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