Redefined boolean constants.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5775 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-05-30 16:50:03 +00:00
parent 3ab7994e84
commit c001190732
1 changed files with 3 additions and 3 deletions

View File

@ -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
/** @} */