aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chmtx.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-10 12:35:59 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-10 12:35:59 +0000
commit3b9ae6825f753e21f2db109d7b1005a6acfe475c (patch)
tree96de78ad0895d074d075c97a145c4dbbdb4c02b1 /os/rt/include/chmtx.h
parent530c3a6f9e58a9b7dd2439424bde767d136cbef3 (diff)
downloadChibiOS-3b9ae6825f753e21f2db109d7b1005a6acfe475c.tar.gz
ChibiOS-3b9ae6825f753e21f2db109d7b1005a6acfe475c.tar.bz2
ChibiOS-3b9ae6825f753e21f2db109d7b1005a6acfe475c.zip
Added function chThdQueueIsEmptyI(), fixed a naming error in threads queues static initializer.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7255 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chmtx.h')
-rw-r--r--os/rt/include/chmtx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/include/chmtx.h b/os/rt/include/chmtx.h
index 097b349c5..ecfffae92 100644
--- a/os/rt/include/chmtx.h
+++ b/os/rt/include/chmtx.h
@@ -79,9 +79,9 @@ struct mutex {
* @param[in] name the name of the mutex variable
*/
#if CH_CFG_USE_MUTEXES_RECURSIVE || defined(__DOXYGEN__)
-#define _MUTEX_DATA(name) {_threads_queue_t_DATA(name.m_queue), NULL, NULL, 0}
+#define _MUTEX_DATA(name) {_THREADS_QUEUE_DATA(name.m_queue), NULL, NULL, 0}
#else
-#define _MUTEX_DATA(name) {_threads_queue_t_DATA(name.m_queue), NULL, NULL}
+#define _MUTEX_DATA(name) {_THREADS_QUEUE_DATA(name.m_queue), NULL, NULL}
#endif
/**