diff --git a/Plugin/usr/local/emhttp/plugins/varaverk/pages/monitor.php b/Plugin/usr/local/emhttp/plugins/varaverk/pages/monitor.php index d01c3b9..07c9021 100644 --- a/Plugin/usr/local/emhttp/plugins/varaverk/pages/monitor.php +++ b/Plugin/usr/local/emhttp/plugins/varaverk/pages/monitor.php @@ -75,7 +75,7 @@ function vvMeter(label, pct, text) { const VV_HIST_MAX = 24; // 24 × 5 s = 120 s let vvCpuHistory = []; -let vvGpuHistory = []; + let vvNetRxHistory = []; let vvNetTxHistory = []; @@ -459,12 +459,7 @@ function vvPollMonitor() { ${temp}°C Power ${powerStr} - ` + - ``; - - vvGpuHistory.push(utilPct); - if (vvGpuHistory.length > VV_HIST_MAX) vvGpuHistory.shift(); - vvDrawChart(document.getElementById('vv-gpu-canvas'), vvGpuHistory, '#7e57c2', 'rgba(126,87,194,0.18)', true); + `; } else { document.getElementById('vv-gpu-body').innerHTML = '
No GPU detected
'; }