fix(wifi): fix multi antenna issue

This commit is contained in:
alanmaxwell
2023-10-26 17:30:49 +08:00
parent e89e490565
commit 555891bb54
2 changed files with 3 additions and 3 deletions

View File

@@ -429,7 +429,7 @@ esp_err_t esp_wifi_scan_stop(void);
/** /**
* @brief Get number of APs found in last scan * @brief Get number of APs found in last scan
* *
* @param[out] number store number of APIs found in last scan * @param[out] number store number of APs found in last scan
* *
* @attention This API can only be called when the scan is completed, otherwise it may get wrong value. * @attention This API can only be called when the scan is completed, otherwise it may get wrong value.
* *
@@ -810,7 +810,7 @@ esp_err_t esp_wifi_get_promiscuous_ctrl_filter(wifi_promiscuous_filter_t *filter
* - ESP_ERR_WIFI_MODE: invalid mode * - ESP_ERR_WIFI_MODE: invalid mode
* - ESP_ERR_WIFI_PASSWORD: invalid password * - ESP_ERR_WIFI_PASSWORD: invalid password
* - ESP_ERR_WIFI_NVS: WiFi internal NVS error * - ESP_ERR_WIFI_NVS: WiFi internal NVS error
* - others: refer to the erro code in esp_err.h * - others: refer to the error code in esp_err.h
*/ */
esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf); esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf);