mirror of
https://github.com/wled/WLED.git
synced 2025-11-29 12:47:47 +00:00
Compare commits
1 Commits
copilot/fi
...
nightly
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a897271a03 |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user