diff --git a/src/AutoConnect.cpp b/src/AutoConnect.cpp index f99dd67..1531844 100644 --- a/src/AutoConnect.cpp +++ b/src/AutoConnect.cpp @@ -145,7 +145,7 @@ bool AutoConnect::begin(const char* ssid, const char* passphrase, unsigned long // Load a valid credential. if (_loadAvailCredential()) { // Try to reconnect with a stored credential. - AC_DBG("Past SSID:%s loaded\n", reinterpret_cast(_credential.ssid)); + AC_DBG("autoReconnect loaded SSID:%s\n", reinterpret_cast(_credential.ssid)); const char* psk = strlen(reinterpret_cast(_credential.password)) ? reinterpret_cast(_credential.password) : nullptr; WiFi.begin(reinterpret_cast(_credential.ssid), psk); AC_DBG("WiFi.begin(%s%s%s)\n", _credential.ssid, psk == nullptr ? "" : ",", psk == nullptr ? "" : psk); @@ -229,6 +229,9 @@ bool AutoConnect::begin(const char* ssid, const char* passphrase, unsigned long } } } + else { + AC_DBG("Suppress autoRise\n"); + } } // It doesn't matter the connection status for launching the Web server.