fixed WiFi not setting Hostname
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -79,8 +79,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// ═══════════════════════════════════════════════════════════════════════════════════
|
||||
// SYSTEM LIBRARIES - Core ESP32 and Arduino functionality
|
||||
// ═══════════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
Reference in New Issue
Block a user