Fix old sdk esp8266 error w softapssid

This commit is contained in:
tablatronix
2022-02-24 11:50:08 -06:00
parent fd7f400b25
commit 0aecb22904
+2
View File
@@ -2092,12 +2092,14 @@ String WiFiManager::getInfoData(String id){
p.replace(FPSTR(T_1),WiFi.softAPgetHostname());
}
#endif
#ifndef WM_NOSOFTAPSSID
#ifdef ESP8266
else if(id==F("apssid")){
p = FPSTR(HTTP_INFO_apssid);
p.replace(FPSTR(T_1),htmlEntities(WiFi.softAPSSID()));
}
#endif
#endif
else if(id==F("apbssid")){
p = FPSTR(HTTP_INFO_apbssid);
p.replace(FPSTR(T_1),(String)WiFi.BSSIDstr());