Added RT_LWIP_PBUF_POOL_BUFSIZE to handle PBUF_POOL_BUFSIZE definition in user configuration file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2072 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
372332dd0e
commit
5969fffcd7
|
@ -139,7 +139,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
|
/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
|
||||||
#define PBUF_POOL_BUFSIZE 1500
|
#ifdef RT_LWIP_PBUF_POOL_BUFSIZE
|
||||||
|
#define PBUF_POOL_BUFSIZE RT_LWIP_PBUF_POOL_BUFSIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
|
/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
|
||||||
link level header. */
|
link level header. */
|
||||||
|
|
Loading…
Reference in New Issue