diff --git a/libraries/AsyncUDP/src/AsyncUDP.cpp b/libraries/AsyncUDP/src/AsyncUDP.cpp index fcbc55f8..313d7ed4 100644 --- a/libraries/AsyncUDP/src/AsyncUDP.cpp +++ b/libraries/AsyncUDP/src/AsyncUDP.cpp @@ -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));