esp8266_lwip: Use CONFIG_LWIP_MAX_SOCKETS to set the maximum sockets

Signed-off-by: Piyush Shah <piyush@espressif.com>
This commit is contained in:
Piyush Shah
2018-10-19 03:33:19 +05:30
parent ecd156c087
commit 636b64846a

View File

@ -353,7 +353,7 @@ void *memp_malloc_ll(size_t type);
* MEMP_NUM_NETCONN: the number of struct netconns.
* (only needed if you use the sequential API, like api_lib.c)
*/
#define MEMP_NUM_NETCONN 10
#define MEMP_NUM_NETCONN CONFIG_LWIP_MAX_SOCKETS
/**