From 40630a2123628cfaa4a992e8e54bb6f0a68345dc Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 15 Dec 2025 00:05:00 +0000 Subject: [PATCH] Actualy log the SSID when retrying --- main/wifi_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/wifi_manager.c b/main/wifi_manager.c index 6e32386..4809371 100644 --- a/main/wifi_manager.c +++ b/main/wifi_manager.c @@ -56,7 +56,7 @@ static void event_handler(void *arg, esp_event_base_t event_base, if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { esp_wifi_connect(); } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { - ESP_LOGI(TAG, "Retry connecting to AP..."); + ESP_LOGI(TAG, "Retry connecting to AP %s", ssid); esp_wifi_connect(); // In a real product, we might count retries and switch to AP mode if failing. // For now, infinite retry is simple.