]> granicus.if.org Git - esp-idf/commitdiff
Fix two WiFi and LWIP typos
authorXia Xiaotian <xiaxiaotian@espressif.com>
Thu, 5 Apr 2018 03:46:42 +0000 (11:46 +0800)
committerXia Xiaotian <xiaxiaotian@espressif.com>
Thu, 5 Apr 2018 03:46:42 +0000 (11:46 +0800)
    1. close github issue: https://github.com/espressif/esp-idf/issues/1792
    2. close github issue: https://github.com/espressif/esp-idf/issues/1781

components/esp32/include/esp_wifi_internal.h [changed mode: 0644->0755]
components/lwip/Kconfig [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 2fc138b..b198408
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index b595544..c24910e
@@ -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