Fix two WiFi and LWIP typos
1. close github issue: https://github.com/espressif/esp-idf/issues/1792 2. close github issue: https://github.com/espressif/esp-idf/issues/1781
This commit is contained in:
parent
f586f5e690
commit
e727582180
4
components/esp32/include/esp_wifi_internal.h
Normal file → Executable file
4
components/esp32/include/esp_wifi_internal.h
Normal file → Executable file
|
@ -81,7 +81,7 @@ void esp_wifi_internal_free_rx_buffer(void* buffer);
|
||||||
*
|
*
|
||||||
* @param wifi_interface_t wifi_if : wifi interface id
|
* @param wifi_interface_t wifi_if : wifi interface id
|
||||||
* @param void *buffer : the buffer to be tansmit
|
* @param void *buffer : the buffer to be tansmit
|
||||||
* @param u16_t len : the length of buffer
|
* @param uint16_t len : the length of buffer
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* - ERR_OK : Successfully transmit the buffer to wifi driver
|
* - ERR_OK : Successfully transmit the buffer to wifi driver
|
||||||
|
@ -89,7 +89,7 @@ void esp_wifi_internal_free_rx_buffer(void* buffer);
|
||||||
* - ERR_IF : WiFi driver error
|
* - ERR_IF : WiFi driver error
|
||||||
* - ERR_ARG : Invalid argument
|
* - ERR_ARG : Invalid argument
|
||||||
*/
|
*/
|
||||||
int esp_wifi_internal_tx(wifi_interface_t wifi_if, void *buffer, u16_t len);
|
int esp_wifi_internal_tx(wifi_interface_t wifi_if, void *buffer, uint16_t len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The WiFi RX callback function
|
* @brief The WiFi RX callback function
|
||||||
|
|
2
components/lwip/Kconfig
Normal file → Executable file
2
components/lwip/Kconfig
Normal file → Executable file
|
@ -29,7 +29,7 @@ config LWIP_IRAM_OPTIMIZATION
|
||||||
|
|
||||||
config LWIP_MAX_SOCKETS
|
config LWIP_MAX_SOCKETS
|
||||||
int "Max number of open sockets"
|
int "Max number of open sockets"
|
||||||
range 1 32
|
range 1 16
|
||||||
default 10
|
default 10
|
||||||
help
|
help
|
||||||
Sockets take up a certain amount of memory, and allowing fewer
|
Sockets take up a certain amount of memory, and allowing fewer
|
||||||
|
|
Loading…
Reference in a new issue