add br to no networks error

This commit is contained in:
tablatronix
2021-02-05 15:47:13 -06:00
parent 2fdba90efb
commit c710e9ecbe
2 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -1397,7 +1397,8 @@ String WiFiManager::WiFiManager::getScanItemOut(){
DEBUG_WM(F("No networks found"));
#endif
page += FPSTR(S_nonetworks); // @token nonetworks
}
page += F("<br/><br/>");
}
else {
#ifdef WM_DEBUG_LEVEL
DEBUG_WM(n,F("networks found"));
@@ -2207,7 +2208,9 @@ void WiFiManager::handleClose(){
}
void WiFiManager::reportStatus(String &page){
updateConxResult(WiFi.status());
updateConxResult(WiFi.status()); // @todo: this defeats the purpose of last result, update elsewhere or add logic here
DEBUG_WM(DEBUG_DEV,F("[WIFI] reportStatus prev:"),getWLStatusString(_lastconxresult));
DEBUG_WM(DEBUG_DEV,F("[WIFI] reportStatus current:"),getWLStatusString(WiFi.status()));
String str;
if (WiFi_SSID() != ""){
if (WiFi.status()==WL_CONNECTED){