From bb670e97ff0172003f27b8a99a7da68ebf8be5a9 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sat, 24 Feb 2024 18:30:08 +0100 Subject: [PATCH] add platform to system_info --- src/system.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/system.cpp b/src/system.cpp index 36c1b0db7..026277491 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -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 (seconds)"] = uuid::get_uptime_sec(); #ifndef EMSESP_STANDALONE - node["platform"] = ARDUINO_VERSION; + node["platform"] = EMSESP_PLATFORM; + node["arduino"] = ARDUINO_VERSION; node["sdk"] = ESP.getSdkVersion(); node["free mem"] = getHeapMem(); node["max alloc"] = getMaxAllocMem();