esp8266_4MB_M: usermods maches max usermods, add net print,set flashsize

This commit is contained in:
Ewoud
2023-04-07 16:40:24 +02:00
parent a6e2cf0b26
commit 212126b0ad
3 changed files with 10 additions and 6 deletions

View File

@@ -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

View File

@@ -8,7 +8,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2304071
#define VERSION 2304072
//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG