Skip to content

Commit 2321755

Browse files
committed
Fix tcp_poll timer
Should be using the config setting.
1 parent affbd22 commit 2321755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static lwip_tcp_event_packet_t *_register_pcb(tcp_pcb *pcb, AsyncClient *client)
284284
tcp_recv(pcb, &_tcp_recv);
285285
tcp_sent(pcb, &_tcp_sent);
286286
tcp_err(pcb, &_tcp_error);
287-
tcp_poll(pcb, &_tcp_poll, 1);
287+
tcp_poll(pcb, &_tcp_poll, CONFIG_ASYNC_TCP_POLL_TIMER);
288288
};
289289
return end_event;
290290
}

0 commit comments

Comments
 (0)