From d6f105319daf32479a8d12261a1509f86e5af7d2 Mon Sep 17 00:00:00 2001 From: bonamin Date: Tue, 14 Oct 2025 19:14:59 +0300 Subject: [PATCH] fixed WiFi not setting Hostname --- vesper/src/Networking/Networking.cpp | 2 +- vesper/vesper.ino | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/vesper/src/Networking/Networking.cpp b/vesper/src/Networking/Networking.cpp index 0c6de8c..81aad61 100644 --- a/vesper/src/Networking/Networking.cpp +++ b/vesper/src/Networking/Networking.cpp @@ -111,8 +111,8 @@ void Networking::startWiFiConnection() { String savedSSID = _wifiManager->getWiFiSSID(true); LOG_INFO("Using WiFiManager saved credentials - SSID: %s", savedSSID.c_str()); - WiFi.mode(WIFI_STA); applyNetworkConfig(false); // false = WiFi config + WiFi.mode(WIFI_STA); // Let WiFiManager handle credentials (uses saved SSID/password) WiFi.begin(); diff --git a/vesper/vesper.ino b/vesper/vesper.ino index c1e2f24..7be21dd 100644 --- a/vesper/vesper.ino +++ b/vesper/vesper.ino @@ -79,8 +79,6 @@ - - // ═══════════════════════════════════════════════════════════════════════════════════ // SYSTEM LIBRARIES - Core ESP32 and Arduino functionality // ═══════════════════════════════════════════════════════════════════════════════════