From 8cbd0fa54ed26fa932feda483be2fb6a0ed4b78f Mon Sep 17 00:00:00 2001 From: Shawn A Date: Thu, 15 Mar 2018 16:08:48 -0500 Subject: [PATCH] oops --- WiFiManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index d95573f..3b08831 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -951,7 +951,6 @@ String WiFiManager::getIpForm(String id, String title, String value){ String WiFiManager::getStaticOut(){ String page; if (_staShowStaticFields || _sta_static_ip) { - // @todo how can we get these accurate settings from memory , wifi_get_ip_info does not seem to reveal if struct ip_info is static or not page += getIpForm(FPSTR(S_ip),FPSTR(S_staticip),(_sta_static_ip ? _sta_static_ip.toString() : "")); // @token staticip // WiFi.localIP().toString(); @@ -1687,7 +1686,7 @@ void WiFiManager::setSTAStaticIPConfig(IPAddress ip, IPAddress gw, IPAddress sn) * @param {[type]} IPAddress dns [description] */ void WiFiManager::setSTAStaticIPConfig(IPAddress ip, IPAddress gw, IPAddress sn, IPAddress dns) { - setSTAStaticIPConfig(IPAddress ip, IPAddress gw, IPAddress sn); + setSTAStaticIPConfig(ip,gw,sn); _sta_static_dns = dns; }