diff options
Diffstat (limited to 'os/nil/include/ch.h')
-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
* @{
*/
|