fix(esp8266): fix Wi-Fi initialization data error when compiling cpp
@@ -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,\
