aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/rt/include/chdebug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/include/chdebug.h b/os/rt/include/chdebug.h
index c4fd39f39..593a25c88 100644
--- a/os/rt/include/chdebug.h
+++ b/os/rt/include/chdebug.h
@@ -43,14 +43,14 @@
/**
* @brief Trace buffer entries.
*/
-#ifndef CH_DBG_TRACE_BUFFER_SIZE
+#if !defined(CH_DBG_TRACE_BUFFER_SIZE) || defined(__DOXYGEN__)
#define CH_DBG_TRACE_BUFFER_SIZE 64
#endif
/**
* @brief Fill value for thread stack area in debug mode.
*/
-#ifndef CH_DBG_STACK_FILL_VALUE
+#if !defined(CH_DBG_STACK_FILL_VALUE) || defined(__DOXYGEN__)
#define CH_DBG_STACK_FILL_VALUE 0x55
#endif
@@ -61,7 +61,7 @@
* a debugger. A uninitialized field is not an error in itself but it
* better to know it.
*/
-#ifndef CH_DBG_THREAD_FILL_VALUE
+#if !defined(CH_DBG_THREAD_FILL_VALUE) || defined(__DOXYGEN__)
#define CH_DBG_THREAD_FILL_VALUE 0xFF
#endif
/** @} */