1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-26 07:02:15 +03:00

Fix UDP send to not temporarily use connect()

This commit is contained in:
Jon Watte
2015-05-10 14:00:50 -07:00
parent 5407b064b0
commit 3049d48d56
3 changed files with 9 additions and 7 deletions

View File

@ -281,7 +281,7 @@ private:
void _reserve(size_t size)
{
const size_t pbuf_unit_size = 1024;
const size_t pbuf_unit_size = 512;
if (!_tx_buf_head)
{
_tx_buf_head = pbuf_alloc(PBUF_TRANSPORT, pbuf_unit_size, PBUF_RAM);