mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
merge Michael's change
This commit is contained in:
@@ -115,7 +115,7 @@ void WebStatusService::systemStatus(AsyncWebServerRequest * request) {
|
|||||||
root["max_alloc_heap"] = EMSESP::system_.getMaxAllocMem();
|
root["max_alloc_heap"] = EMSESP::system_.getMaxAllocMem();
|
||||||
root["arduino_version"] = ARDUINO_VERSION;
|
root["arduino_version"] = ARDUINO_VERSION;
|
||||||
root["sdk_version"] = ESP.getSdkVersion();
|
root["sdk_version"] = ESP.getSdkVersion();
|
||||||
root["partition"] = esp_ota_get_running_partition()->label; // active partition
|
root["partition"] = (const char *)esp_ota_get_running_partition()->label; // active partition
|
||||||
root["flash_chip_size"] = ESP.getFlashChipSize() / 1024;
|
root["flash_chip_size"] = ESP.getFlashChipSize() / 1024;
|
||||||
root["flash_chip_speed"] = ESP.getFlashChipSpeed();
|
root["flash_chip_speed"] = ESP.getFlashChipSpeed();
|
||||||
root["app_used"] = EMSESP::system_.appUsed();
|
root["app_used"] = EMSESP::system_.appUsed();
|
||||||
|
|||||||
Reference in New Issue
Block a user