提交 85032b22 编写于 作者: M me-no-dev

Do not break UDP if pbuf is null

上级 e5ea089a
......@@ -132,7 +132,7 @@ static void _udp_task(void *pvParameters){
if(xQueueReceive(_udp_queue, &e, portMAX_DELAY) == pdTRUE){
if(!e->pb){
free((void*)(e));
break;
continue;
}
AsyncUDP::_s_recv(e->arg, e->pcb, e->pb, e->addr, e->port, e->netif);
free((void*)(e));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册