esp8266_4MB_M: usermods maches max usermods, add net print,set flashsize
This commit is contained in:
@@ -898,7 +898,6 @@ void serializeInfo(JsonObject root)
|
||||
#endif
|
||||
root[F("lwip")] = 0; //deprecated
|
||||
root[F("totalheap")] = ESP.getHeapSize(); //WLEDMM
|
||||
root[F("getflash")] = ESP.getFlashChipSize(); //WLEDMM and Athom
|
||||
#else
|
||||
root[F("arch")] = "esp8266";
|
||||
root[F("core")] = ESP.getCoreVersion();
|
||||
@@ -908,6 +907,7 @@ void serializeInfo(JsonObject root)
|
||||
#endif
|
||||
root[F("lwip")] = LWIP_VERSION_MAJOR;
|
||||
#endif
|
||||
root[F("getflash")] = ESP.getFlashChipSize(); //WLEDMM and Athom, works for both ESP32 and ESP8266
|
||||
|
||||
root[F("freeheap")] = ESP.getFreeHeap();
|
||||
//WLEDMM: conditional on esp32
|
||||
|
||||
Reference in New Issue
Block a user