mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
fix: not found getChipModel method for ESP8266 (#1503)
This commit is contained in:
+3
-1
@@ -2054,7 +2054,9 @@ String WiFiManager::getInfoData(String id){
|
||||
String p;
|
||||
if(id==F("esphead")){
|
||||
p = FPSTR(HTTP_INFO_esphead);
|
||||
p.replace(FPSTR(T_1),(String)ESP.getChipModel());
|
||||
#ifdef ESP32
|
||||
p.replace(FPSTR(T_1), (String)ESP.getChipModel());
|
||||
#endif
|
||||
}
|
||||
else if(id==F("wifihead")){
|
||||
p = FPSTR(HTTP_INFO_wifihead);
|
||||
|
||||
Reference in New Issue
Block a user