aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/ch.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-03 08:48:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-03 08:48:20 +0000
commit9d0c6fb8bf7bf63c137d7c19fdefc7760d2f133a (patch)
tree86acab83e6b86703239954be6d8240cf49accb8b /os/rt/include/ch.h
parent156a195bf72bd366f91e03c170ad4b344797778a (diff)
downloadChibiOS-9d0c6fb8bf7bf63c137d7c19fdefc7760d2f133a.tar.gz
ChibiOS-9d0c6fb8bf7bf63c137d7c19fdefc7760d2f133a.tar.bz2
ChibiOS-9d0c6fb8bf7bf63c137d7c19fdefc7760d2f133a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6250 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/ch.h')
-rw-r--r--os/rt/include/ch.h42
1 files changed, 2 insertions, 40 deletions
diff --git a/os/rt/include/ch.h b/os/rt/include/ch.h
index c2c486c0f..21c172ec9 100644
--- a/os/rt/include/ch.h
+++ b/os/rt/include/ch.h
@@ -62,44 +62,6 @@
#define CH_KERNEL_PATCH 0
/** @} */
-/**
- * @name Common constants
- */
-/**
- * @brief Generic 'false' boolean constant.
- */
-#if !defined(FALSE) || defined(__DOXYGEN__)
-#define FALSE 0
-#endif
-
-/**
- * @brief Generic 'true' boolean constant.
- */
-#if !defined(TRUE) || defined(__DOXYGEN__)
-#define TRUE (!FALSE)
-#endif
-
-/**
- * @brief Generic success constant.
- * @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 as a status indicator.
- */
-#if !defined(CH_SUCCESS) || defined(__DOXYGEN__)
-#define CH_SUCCESS false
-#endif
-
-/**
- * @brief Generic failure constant.
- * @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 as a status indicator.
- */
-#if !defined(CH_FAILED) || defined(__DOXYGEN__)
-#define CH_FAILED true
-#endif
-/** @} */
-
/* Forward declarations.*/
typedef struct thread thread_t;
typedef struct virtual_timer virtual_timer_t;
@@ -114,10 +76,10 @@ extern "C" {
#endif
/* Inclusion of all the kernel sub-headers.*/
-#include "chconf.h"
#include "chtypes.h"
-#include "chdebug.h"
+#include "chconf.h"
#include "chcore.h"
+#include "chdebug.h"
#include "chtm.h"
#include "chstats.h"
#include "chsys.h"