add platform to system_info

This commit is contained in:
MichaelDvP
2024-02-24 18:30:08 +01:00
parent 87542fb9df
commit bb670e97ff

View File

@@ -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();