From 768bdcaaaab017c902fc4ee575d2cff47333d5b9 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sat, 24 Feb 2024 14:38: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 eabfcd09e..c4c6ed2cb 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -1200,7 +1200,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();