Merge branch 'test/wifi_connect_with_full_scan_in_examples_v4.3' into 'release/v4.3'

example: set example wifi scan method to all channel (v4.3)

See merge request espressif/esp-idf!13912
pull/7253/head
Jiang Jiang Jian 2021-06-25 04:07:47 +00:00
commit 02872ada4f
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -265,6 +265,7 @@ static esp_netif_t *wifi_start(void)
.sta = {
.ssid = CONFIG_EXAMPLE_WIFI_SSID,
.password = CONFIG_EXAMPLE_WIFI_PASSWORD,
.scan_method = WIFI_ALL_CHANNEL_SCAN,
},
};
ESP_LOGI(TAG, "Connecting to %s...", wifi_config.sta.ssid);