diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-30 16:50:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-30 16:50:03 +0000 |
commit | c001190732db65a0e55949704cbfe54a621fb52e (patch) | |
tree | a7b3f60d0ab8b8deb84e19c5888c15d5b90669ce /os | |
parent | 3ab7994e842fb2383def6bc9dd45b51ec4a9add3 (diff) | |
download | ChibiOS-c001190732db65a0e55949704cbfe54a621fb52e.tar.gz ChibiOS-c001190732db65a0e55949704cbfe54a621fb52e.tar.bz2 ChibiOS-c001190732db65a0e55949704cbfe54a621fb52e.zip |
Redefined boolean constants.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5775 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/kernel/include/ch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/kernel/include/ch.h b/os/kernel/include/ch.h index 0512fd3e5..eac0b6500 100644 --- a/os/kernel/include/ch.h +++ b/os/kernel/include/ch.h @@ -76,7 +76,7 @@ * @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
-#define TRUE !0
+#define TRUE (!FALSE)
#endif
/**
@@ -86,7 +86,7 @@ * returning a @p bool_t as a status indicator.
*/
#if !defined(CH_SUCCESS) || defined(__DOXYGEN__)
-#define CH_SUCCESS FALSE
+#define CH_SUCCESS FALSE
#endif
/**
@@ -96,7 +96,7 @@ * returning a @p bool_t as a status indicator.
*/
#if !defined(CH_FAILED) || defined(__DOXYGEN__)
-#define CH_FAILED TRUE
+#define CH_FAILED TRUE
#endif
/** @} */
|