aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/ch.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/ch.h')
-rw-r--r--os/kernel/include/ch.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/os/kernel/include/ch.h b/os/kernel/include/ch.h
index a7cafb581..83d7e423c 100644
--- a/os/kernel/include/ch.h
+++ b/os/kernel/include/ch.h
@@ -81,22 +81,22 @@
/**
* @brief Generic success constant.
- * @details This constant is functionally equivalent to @p FALSE but more
+ * @details This constant is functionally equivalent to @p false but more
* readable, it can be used as return value of all those functions
- * returning a @p bool_t as a status indicator.
+ * returning a @p bool as a status indicator.
*/
#if !defined(CH_SUCCESS) || defined(__DOXYGEN__)
-#define CH_SUCCESS FALSE
+#define CH_SUCCESS false
#endif
/**
* @brief Generic failure constant.
- * @details This constant is functionally equivalent to @p TRUE but more
+ * @details This constant is functionally equivalent to @p true but more
* readable, it can be used as return value of all those functions
- * returning a @p bool_t as a status indicator.
+ * returning a @p bool as a status indicator.
*/
#if !defined(CH_FAILED) || defined(__DOXYGEN__)
-#define CH_FAILED TRUE
+#define CH_FAILED true
#endif
/** @} */