diff --git a/wled00/data/index.js b/wled00/data/index.js index fe011dce..84b25618 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.psram !== undefined) upgradeData.psramSize = infoData.psram; + if (infoData.psram !== undefined) upgradeData.psramSize = Math.round(infoData.psram / (1024 * 1024)); // convert bytes to MB // Note: partitionSizes not currently available in /json/info endpoint // Make AJAX call to postUpgradeEvent API