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:
Xia Xiaotian 2018-04-05 11:46:42 +08:00
parent f586f5e690
commit e727582180
2 changed files with 3 additions and 3 deletions

4
components/esp32/include/esp_wifi_internal.h Normal file → Executable file
View file

@ -81,7 +81,7 @@ void esp_wifi_internal_free_rx_buffer(void* buffer);
*
* @param wifi_interface_t wifi_if : wifi interface id
* @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
* - 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_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

2
components/lwip/Kconfig Normal file → Executable file
View file

@ -29,7 +29,7 @@ config LWIP_IRAM_OPTIMIZATION
config LWIP_MAX_SOCKETS
int "Max number of open sockets"
range 1 32
range 1 16
default 10
help
Sockets take up a certain amount of memory, and allowing fewer