diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-11 15:05:09 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-11 15:05:09 +0000 |
commit | fc2af0f5896de947b3c59a9251ac4eef91ed005c (patch) | |
tree | ca279f1743bf50839eede1f497380706ee9e0af0 /os/hal/include/hal_channels.h | |
parent | 18202523f8727dcebb27ed2f9f6d3060e6474c5a (diff) | |
download | ChibiOS-fc2af0f5896de947b3c59a9251ac4eef91ed005c.tar.gz ChibiOS-fc2af0f5896de947b3c59a9251ac4eef91ed005c.tar.bz2 ChibiOS-fc2af0f5896de947b3c59a9251ac4eef91ed005c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7759 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/hal_channels.h')
-rw-r--r-- | os/hal/include/hal_channels.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/include/hal_channels.h b/os/hal/include/hal_channels.h index 21d4834de..a57255b85 100644 --- a/os/hal/include/hal_channels.h +++ b/os/hal/include/hal_channels.h @@ -203,17 +203,17 @@ typedef struct { * @{
*/
/** @brief No pending conditions.*/
-#define CHN_NO_ERROR 0
+#define CHN_NO_ERROR (eventflags_t)0
/** @brief Connection happened.*/
-#define CHN_CONNECTED 1
+#define CHN_CONNECTED (eventflags_t)1
/** @brief Disconnection happened.*/
-#define CHN_DISCONNECTED 2
+#define CHN_DISCONNECTED (eventflags_t)2
/** @brief Data available in the input queue.*/
-#define CHN_INPUT_AVAILABLE 4
+#define CHN_INPUT_AVAILABLE (eventflags_t)4
/** @brief Output queue empty.*/
-#define CHN_OUTPUT_EMPTY 8
+#define CHN_OUTPUT_EMPTY (eventflags_t)8
/** @brief Transmission end.*/
-#define CHN_TRANSMISSION_END 16
+#define CHN_TRANSMISSION_END (eventflags_t)16
/** @} */
/**
|