diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-05-04 12:08:34 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-05-04 12:08:34 +0000 |
commit | 24157d68e4fa7bd3a1c9ba31abe4da276e7a7326 (patch) | |
tree | 04a3670eb98fd44570926bd117a09261d284d4d6 /os/nil | |
parent | 6b2c62e9a349131f93dc31aca8c778ea426f13ee (diff) | |
download | ChibiOS-24157d68e4fa7bd3a1c9ba31abe4da276e7a7326.tar.gz ChibiOS-24157d68e4fa7bd3a1c9ba31abe4da276e7a7326.tar.bz2 ChibiOS-24157d68e4fa7bd3a1c9ba31abe4da276e7a7326.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11997 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/nil')
-rw-r--r-- | os/nil/include/ch.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/os/nil/include/ch.h b/os/nil/include/ch.h index dc89bd597..3aa85af6c 100644 --- a/os/nil/include/ch.h +++ b/os/nil/include/ch.h @@ -74,6 +74,26 @@ /** @} */
/**
+ * @name Constants for configuration options
+ */
+/**
+ * @brief Generic 'false' preprocessor boolean constant.
+ * @note It is meant to be used in configuration files as switch.
+ */
+#if !defined(FALSE) || defined(__DOXYGEN__)
+#define FALSE 0
+#endif
+
+/**
+ * @brief Generic 'true' preprocessor boolean constant.
+ * @note It is meant to be used in configuration files as switch.
+ */
+#if !defined(TRUE) || defined(__DOXYGEN__)
+#define TRUE 1
+#endif
+/** @} */
+
+/**
* @name Wakeup messages
* @{
*/
|