mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-06 09:56:38 +00:00
PBUF_POOL_BUFSIZE: For the default length, alignment check in pbuf_init() failed.
This commit is contained in:
parent
cde6d0deed
commit
36e8213e42
@ -383,7 +383,7 @@ a lot of data that needs to be copied, this should be set high. */
|
||||
#ifndef PBUF_POOL_BUFSIZE
|
||||
/* Default designed to accomodate single full size TCP frame in one PBUF */
|
||||
/* TCP_MSS + 40 for IP and TCP headers + physical layer headers */
|
||||
#define PBUF_POOL_BUFSIZE (TCP_MSS+40+PBUF_LINK_HLEN)
|
||||
#define PBUF_POOL_BUFSIZE MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_HLEN)
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user