add reopen zigbee and modify the stacksize of zigbee receive thread

This commit is contained in:
Wang_Weigen
2021-09-27 16:32:44 +08:00
parent b0f717bee4
commit 626cbb084d
3 changed files with 17 additions and 39 deletions

View File

@@ -369,7 +369,7 @@ static int ATAgentInit(ATAgentType agent)
strncpy(at_utask.name, "recv_task", strlen("recv_task"));
at_utask.func_entry = ATAgentReceiveProcess;
at_utask.func_param = agent;
at_utask.stack_size = 1024;
at_utask.stack_size = 2048;
at_utask.prio = 18;
agent->at_handler = UserTaskCreate(at_utask);
@@ -448,7 +448,7 @@ ATReplyType CreateATReply(uint32 reply_max_len)
free(reply);
return NULL;
}
memset(reply->reply_buffer,0,reply_max_len);
return reply;
}