diff --git a/test/wm-test-project/components/esp32-wifi-manager b/test/wm-test-project/components/esp32-wifi-manager index 13cd224..1b20c9f 120000 --- a/test/wm-test-project/components/esp32-wifi-manager +++ b/test/wm-test-project/components/esp32-wifi-manager @@ -1 +1 @@ -../../../../esp32-wifi-manager/ \ No newline at end of file +../../../ \ No newline at end of file diff --git a/test/wm-test-project/main/main.c b/test/wm-test-project/main/main.c index cd413d8..79f698d 100644 --- a/test/wm-test-project/main/main.c +++ b/test/wm-test-project/main/main.c @@ -77,6 +77,10 @@ void loop(void *p) { ESP_LOGI(TAG, "Got connection!"); } else if(ev_bits & WIFI_IDLE) { ESP_LOGI(TAG, "WiFi idle."); + + vTaskDelay(10000 / portTICK_PERIOD_MS); + + ESP_LOGI(TAG, "Attempting reconnect"); } vTaskDelay(10000 / portTICK_PERIOD_MS);