aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsem.h
diff options
context:
space:
mode:
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.