aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsem.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/chsem.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/chsem.h')
-rw-r--r--os/rt/include/chsem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/include/chsem.h b/os/rt/include/chsem.h
index badebc3f9..4762da9df 100644
--- a/os/rt/include/chsem.h
+++ b/os/rt/include/chsem.h
@@ -69,7 +69,7 @@ typedef struct semaphore {
* @param[in] n the counter initial value, this value must be
* non-negative
*/
-#define _SEMAPHORE_DATA(name, n) {_threads_queue_t_DATA(name.s_queue), n}
+#define _SEMAPHORE_DATA(name, n) {_THREADS_QUEUE_DATA(name.s_queue), n}
/**
* @brief Static semaphore initializer.