Fixed bug
This commit is contained in:
1 parent
c8ee442f5d
commit
8448969a1a
1 file changed
+1
-1
@@ -171,7 +171,7 @@ void AsyncUdpListener::poll(TickType_t xTicksToWait)
|
||||
return;
|
||||
|
||||
lwip_event_packet_t *e{NULL};
|
||||
while (_udp_queue->receive(&e, 0) == pdTRUE)
|
||||
while (_udp_queue->receive(&e, xTicksToWait) == pdTRUE)
|
||||
{
|
||||
if (!e->pb)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user