From 3a93a482ab7dba078730cf2acfd229fa5232761e Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 2 Jan 2025 23:31:03 +0100 Subject: [PATCH] Re-add physical flash --- www/src/Pages/HomePage.tsx | 3 +++ www/src/Store/useSystemStats.ts | 14 ++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/www/src/Pages/HomePage.tsx b/www/src/Pages/HomePage.tsx index d90e64b93..43ae46638 100644 --- a/www/src/Pages/HomePage.tsx +++ b/www/src/Pages/HomePage.tsx @@ -74,6 +74,9 @@ export default function HomePage() { {t('HomePage:memory-static-allocations-text')}:{' '} {memoryReport.staticAllocs} +
+ {t('HomePage:memory-board-text')}: {memoryReport.physicalFlash} +
()((set) => ({ fileName: firmwareVersion.boardConfigFileName, }, memoryReport: { - totalFlash: toKB(memoryReport.totalFlash), - usedFlash: toKB(memoryReport.usedFlash), + physicalFlash: toKB(memoryReport.physicalFlash), staticAllocs: toKB(memoryReport.staticAllocs), + totalFlash: toKB(memoryReport.totalFlash), totalHeap: toKB(memoryReport.totalHeap), + usedFlash: toKB(memoryReport.usedFlash), usedHeap: toKB(memoryReport.usedHeap), percentageFlash: percentage( memoryReport.usedFlash,