aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chcond.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/chcond.h')
-rw-r--r--os/kernel/include/chcond.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chcond.h b/os/kernel/include/chcond.h
index 7557243cd..202f4125c 100644
--- a/os/kernel/include/chcond.h
+++ b/os/kernel/include/chcond.h
@@ -45,7 +45,7 @@
* @brief CondVar structure.
*/
typedef struct CondVar {
- ThreadsQueue c_queue; /**< @brief CondVar threads queue.*/
+ threads_queue_t c_queue; /**< @brief CondVar threads queue.*/
} CondVar;
#ifdef __cplusplus
@@ -73,7 +73,7 @@ extern "C" {
*
* @param[in] name the name of the condition variable
*/
-#define _CONDVAR_DATA(name) {_THREADSQUEUE_DATA(name.c_queue)}
+#define _CONDVAR_DATA(name) {_threads_queue_t_DATA(name.c_queue)}
/**
* @brief Static condition variable initializer.