Skip to content
Snippets Groups Projects
Commit e2411bc2 authored by Jens Nolte's avatar Jens Nolte
Browse files

Enable WIFI_ALL_CHANNEL_SCAN

parent d9d56580
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,8 @@ void enable_wlan() {
ESP_ERROR_CHECK(esp_wifi_init(&cfg));
wifi_config_t wifi_config = {
WLAN_SSID,
WLAN_PASSPHRASE
WLAN_PASSPHRASE,
WIFI_ALL_CHANNEL_SCAN,
};
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment