增加TTrx_mq内存池大小

This commit is contained in:
CSSC-WORK\murmur 2023-09-16 14:42:37 +08:00
parent ad528d1665
commit e1a6834a93
2 changed files with 2 additions and 2 deletions

View File

@ -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, /* 存放消息的缓冲区 */

View File

@ -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;