提交 cf221f45 编写于 作者: Z zhkag 提交者: mysterywolf

修复 riscv64 messagequeue_tc 报错

上级 2bbbd4b3
......@@ -15,7 +15,7 @@
#define MAX_MSGS 5
static struct rt_messagequeue static_mq;
static rt_uint8_t mq_buf[(MSG_SIZE + 4) * MAX_MSGS];
static rt_uint8_t mq_buf[(MSG_SIZE + (rt_uint8_t)sizeof(rt_ubase_t)) * MAX_MSGS];
static struct rt_thread mq_send_thread;
static struct rt_thread mq_recv_thread;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册