提交 be864bcd 编写于 作者: 还_没_想_好's avatar 还_没_想_好

[ipc] fix IAR Compilation error

上级 3b003937
......@@ -2203,7 +2203,7 @@ rt_err_t rt_mq_send_wait(rt_mq_t mq,
}
/* message queue is full */
while ((msg = mq->msg_queue_free) == RT_NULL)
while ((msg = (struct rt_mq_message *)mq->msg_queue_free) == RT_NULL)
{
/* reset error number in thread */
thread->error = RT_EOK;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册