diff options
Diffstat (limited to 'src/chthreads.c')
-rw-r--r-- | src/chthreads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chthreads.c b/src/chthreads.c index 3f55c4de5..f2afdac89 100644 --- a/src/chthreads.c +++ b/src/chthreads.c @@ -43,7 +43,7 @@ Thread *init_thread(Thread *tp, tprio_t prio) { list_init(&tp->p_waiting); #endif #ifdef CH_USE_MESSAGES - fifo_init(&tp->p_msgqueue); + queue_init(&tp->p_msgqueue); #endif #ifdef CH_USE_EVENTS tp->p_epending = 0; |