aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/ch.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 07:24:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 07:24:12 +0000
commit390ed322cb8f40cb9250021cde5f48acb928d291 (patch)
tree1dc550fc749284146c42417ff1d5d40ac1823d5f /os/kernel/include/ch.h
parent25ddb1c801f06a3be7171e20dcfd46d11a75f112 (diff)
downloadChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.tar.gz
ChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.tar.bz2
ChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6001 35acf78f-673a-0410-8e92-d51de3d6d3f4
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
/** @} */