diff --git a/_codeql_detected_source_root b/_codeql_detected_source_root deleted file mode 120000 index 945c9b46..00000000 --- a/_codeql_detected_source_root +++ /dev/null @@ -1 +0,0 @@ -. \ No newline at end of file diff --git a/wled00/data/index.js b/wled00/data/index.js index 76372859..168a5e2a 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3443,7 +3443,7 @@ function reportUpgradeEvent(info, oldVersion) { }; // Add optional fields if available - if (infoData.hasPSRAM !== undefined) upgradeData.hasPSRAM = infoData.hasPSRAM; // Whether device has PSRAM + if (infoData.psramPresent !== undefined) upgradeData.psramPresent = infoData.psramPresent; // Whether device has PSRAM if (infoData.psramSize !== undefined) upgradeData.psramSize = infoData.psramSize; // Total PSRAM size in MB // Note: partitionSizes not currently available in /json/info endpoint diff --git a/wled00/json.cpp b/wled00/json.cpp index 7404a202..f2308013 100644 --- a/wled00/json.cpp +++ b/wled00/json.cpp @@ -842,7 +842,7 @@ void serializeInfo(JsonObject root) #ifdef ARDUINO_ARCH_ESP32 // Report PSRAM information bool hasPsram = psramFound(); - root[F("hasPSRAM")] = hasPsram; + root[F("psramPresent")] = hasPsram; if (hasPsram) { #if defined(BOARD_HAS_PSRAM) root[F("psram")] = ESP.getFreePsram(); // Free PSRAM in bytes (backward compatibility)