From 9353fb01d36582049c2fbe803f6e74788355545c Mon Sep 17 00:00:00 2001 From: tablatronix Date: Tue, 19 Feb 2019 22:06:16 -0600 Subject: [PATCH] added debugging log --- WiFiManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 508f031..67445dd 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -798,10 +798,12 @@ bool WiFiManager::wifiConnectDefault(){ * @return bool success */ bool WiFiManager::setSTAConfig(){ + DEBUG_WM(F("STA static IP:"),_sta_static_ip); bool ret = true; if (_sta_static_ip) { + DEBUG_WM(DEBUG_VERBOSE,F("Custom static IP/GW/Subnet/DNS")); if(_sta_static_dns) { - DEBUG_WM(DEBUG_VERBOSE,F("Custom STA IP/GW/Subnet/DNS")); + DEBUG_WM(DEBUG_VERBOSE,F("Custom static DNS")); ret = WiFi.config(_sta_static_ip, _sta_static_gw, _sta_static_sn, _sta_static_dns); } else {