From 49a065de6343207ea6f9821aab25e9b2f1473e33 Mon Sep 17 00:00:00 2001 From: Dong Heng Date: Mon, 6 Jan 2020 17:35:05 +0800 Subject: [PATCH] fix(esp8266): fix Wi-Fi initialization data error when compiling cpp --- components/esp8266/include/esp_wifi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esp8266/include/esp_wifi.h b/components/esp8266/include/esp_wifi.h index a8bde517..d132131b 100644 --- a/components/esp8266/include/esp_wifi.h +++ b/components/esp8266/include/esp_wifi.h @@ -156,15 +156,15 @@ typedef struct { .osi_funcs = NULL, \ .qos_enable = WIFI_QOS_ENABLED,\ .ampdu_rx_enable = WIFI_AMPDU_RX_ENABLED,\ - .rx_ampdu_buf_len = WIFI_AMPDU_RX_AMPDU_BUF_LEN,\ - .rx_ampdu_buf_num = WIFI_AMPDU_RX_AMPDU_BUF_NUM,\ - .amsdu_rx_enable = WIFI_AMSDU_RX_ENABLED,\ .rx_ba_win = WIFI_AMPDU_RX_BA_WIN,\ + .rx_ampdu_buf_num = WIFI_AMPDU_RX_AMPDU_BUF_NUM,\ + .rx_ampdu_buf_len = WIFI_AMPDU_RX_AMPDU_BUF_LEN,\ .rx_max_single_pkt_len = WIFI_RX_MAX_SINGLE_PKT_LEN,\ .rx_buf_len = WIFI_HW_RX_BUFFER_LEN,\ + .amsdu_rx_enable = WIFI_AMSDU_RX_ENABLED,\ .rx_buf_num = CONFIG_ESP8266_WIFI_RX_BUFFER_NUM,\ - .left_continuous_rx_buf_num = CONFIG_ESP8266_WIFI_LEFT_CONTINUOUS_RX_BUFFER_NUM,\ .rx_pkt_num = CONFIG_ESP8266_WIFI_RX_PKT_NUM,\ + .left_continuous_rx_buf_num = CONFIG_ESP8266_WIFI_LEFT_CONTINUOUS_RX_BUFFER_NUM,\ .tx_buf_num = CONFIG_ESP8266_WIFI_TX_PKT_NUM,\ .nvs_enable = WIFI_NVS_ENABLED,\ .nano_enable = 0,\