Redefined boolean constants.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5775 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
3ab7994e84
commit
c001190732
|
@ -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
|
||||
/** @} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue