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:
commit
936265357b
@ -169,7 +169,6 @@ int WiFiUDP::endPacket()
|
||||
return 0;
|
||||
|
||||
_ctx->send();
|
||||
_ctx->disconnect();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user