minor layout fix to config

This commit is contained in:
Shawn A
2018-03-15 16:34:37 -05:00
parent b7d230cc40
commit 03a40915ee
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -764,8 +764,8 @@ void WiFiManager::handleWifi(boolean scan) {
page += getStaticOut();
if(_paramsInWifi && _paramsCount>0){
page += getParamOut();
page += FPSTR(HTTP_FORM_WIFI_END);
page += getParamOut();
}
page += FPSTR(HTTP_FORM_END);
page += FPSTR(HTTP_SCAN_LINK);
@@ -951,6 +951,7 @@ String WiFiManager::getIpForm(String id, String title, String value){
String WiFiManager::getStaticOut(){
String page;
if (_staShowStaticFields || _sta_static_ip) {
page += FPSTR(HTTP_FORM_STATIC_HEAD);
// @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();