mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-05 22:11:04 +08:00
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:
@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user