mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add platform to system_info
This commit is contained in:
@@ -1204,7 +1204,8 @@ bool System::command_info(const char * value, const int8_t id, JsonObject output
|
|||||||
node["uptime"] = uuid::log::format_timestamp_ms(uuid::get_uptime_ms(), 3);
|
node["uptime"] = uuid::log::format_timestamp_ms(uuid::get_uptime_ms(), 3);
|
||||||
node["uptime (seconds)"] = uuid::get_uptime_sec();
|
node["uptime (seconds)"] = uuid::get_uptime_sec();
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
node["platform"] = ARDUINO_VERSION;
|
node["platform"] = EMSESP_PLATFORM;
|
||||||
|
node["arduino"] = ARDUINO_VERSION;
|
||||||
node["sdk"] = ESP.getSdkVersion();
|
node["sdk"] = ESP.getSdkVersion();
|
||||||
node["free mem"] = getHeapMem();
|
node["free mem"] = getHeapMem();
|
||||||
node["max alloc"] = getMaxAllocMem();
|
node["max alloc"] = getMaxAllocMem();
|
||||||
|
|||||||
Reference in New Issue
Block a user