1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

Merge branch 'jwatte-esp8266' into esp8266

* jwatte-esp8266:
  Fix UDP send to not temporarily use connect()
This commit is contained in:
Ivan Grokhotkov 2015-05-12 19:18:19 +03:00
commit 936265357b
2 changed files with 1 additions and 2 deletions

View File

@ -169,7 +169,6 @@ int WiFiUDP::endPacket()
return 0;
_ctx->send();
_ctx->disconnect();
return 1;
}

View File

@ -304,7 +304,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);