aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/src/chdebug.c')
-rw-r--r--os/rt/src/chdebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/src/chdebug.c b/os/rt/src/chdebug.c
index eef4128d0..a09f327b4 100644
--- a/os/rt/src/chdebug.c
+++ b/os/rt/src/chdebug.c
@@ -105,7 +105,7 @@
/* Module exported functions. */
/*===========================================================================*/
-#if CH_DBG_SYSTEM_STATE_CHECK || defined(__DOXYGEN__)
+#if (CH_DBG_SYSTEM_STATE_CHECK == TRUE) || defined(__DOXYGEN__)
/**
* @brief Guard code for @p chSysDisable().
*
@@ -254,9 +254,9 @@ void chDbgCheckClassS(void) {
}
}
-#endif /* CH_DBG_SYSTEM_STATE_CHECK */
+#endif /* CH_DBG_SYSTEM_STATE_CHECK == TRUE */
-#if CH_DBG_ENABLE_TRACE || defined(__DOXYGEN__)
+#if (CH_DBG_ENABLE_TRACE == TRUE) || defined(__DOXYGEN__)
/**
* @brief Trace circular buffer subsystem initialization.
* @note Internal use only.