增加TTrx_mq内存池大小
This commit is contained in:
parent
ad528d1665
commit
e1a6834a93
@ -132,7 +132,7 @@ int tcpRec(unsigned char *recv_data)
|
||||
struct rt_messagequeue TTrx_mq;
|
||||
void init_mq(void)
|
||||
{
|
||||
static char msg_pool[1024*2];
|
||||
static char msg_pool[1024*5];
|
||||
/* 初始化消息队列 */
|
||||
int result = rt_mq_init(&TTrx_mq, "TTrx_mq",
|
||||
msg_pool, /* 存放消息的缓冲区 */
|
||||
|
@ -14,7 +14,7 @@
|
||||
//struct rt_messagequeue TTrx_mq;
|
||||
typedef struct
|
||||
{
|
||||
rt_uint8_t data[512];
|
||||
rt_uint8_t data[400];
|
||||
int size;
|
||||
}TTRx_MSG;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user