aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_queues.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-11 15:05:09 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-11 15:05:09 +0000
commitfc2af0f5896de947b3c59a9251ac4eef91ed005c (patch)
treeca279f1743bf50839eede1f497380706ee9e0af0 /os/hal/include/hal_queues.h
parent18202523f8727dcebb27ed2f9f6d3060e6474c5a (diff)
downloadChibiOS-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_queues.h')
-rw-r--r--os/hal/include/hal_queues.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h
index 62c08d11c..9e0d0d866 100644
--- a/os/hal/include/hal_queues.h
+++ b/os/hal/include/hal_queues.h
@@ -40,8 +40,8 @@
#define Q_OK MSG_OK /**< @brief Operation successful. */
#define Q_TIMEOUT MSG_TIMEOUT /**< @brief Timeout condition. */
#define Q_RESET MSG_RESET /**< @brief Queue has been reset. */
-#define Q_EMPTY -3 /**< @brief Queue empty. */
-#define Q_FULL -4 /**< @brief Queue full, */
+#define Q_EMPTY (msg_t)-3 /**< @brief Queue empty. */
+#define Q_FULL (msg_t)-4 /**< @brief Queue full, */
/** @} */
/**