diff options
Diffstat (limited to 'src/include/debug.h')
-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
|