Call esp_wifi_start in WiFi::begin
Fixes: https://github.com/espressif/arduino-esp32/issues/391
This commit is contained in:
parent
432bcf5a0a
commit
5d92784710
@ -141,6 +141,7 @@ wl_status_t WiFiSTAClass::begin(const char* ssid, const char *passphrase, int32_
|
||||
esp_wifi_set_channel(channel, WIFI_SECOND_CHAN_NONE);
|
||||
}
|
||||
|
||||
esp_wifi_start();
|
||||
if(connect) {
|
||||
esp_wifi_connect();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user