Skip to content
Snippets Groups Projects
Commit 0920bbb4 authored by Gunar Schorcht's avatar Gunar Schorcht Committed by Schorcht
Browse files

cpu/esp8266: log message on reconnect in esp_wifi

parent 92f6c1a7
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,8 @@ static void IRAM _esp_wifi_reconnect_timer_cb(void* arg)
if (dev->state == ESP_WIFI_DISCONNECTED ||
dev->state == ESP_WIFI_CONNECTING) {
ESP_WIFI_LOG_INFO("trying to reconnect to ssid " ESP_WIFI_SSID);
wifi_station_disconnect();
wifi_station_connect();
dev->state = ESP_WIFI_CONNECTING;
......
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