修复 riscv64 messagequeue_tc 报错
This commit is contained in:
parent
2bbbd4b3fd
commit
cf221f45d7
|
@ -15,7 +15,7 @@
|
||||||
#define MAX_MSGS 5
|
#define MAX_MSGS 5
|
||||||
|
|
||||||
static struct rt_messagequeue static_mq;
|
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_send_thread;
|
||||||
static struct rt_thread mq_recv_thread;
|
static struct rt_thread mq_recv_thread;
|
||||||
|
|
Loading…
Reference in New Issue