aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/hal_channels.h')
-rw-r--r--os/hal/include/hal_channels.h12
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
/** @} */
/**