From 2433fa5d19ef982bccefe6716898a9dc73e5c756 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Tue, 8 Jan 2019 18:01:23 +0900 Subject: [PATCH] Minor fixed the debug messages --- src/AutoConnect.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.