Remove legacy code (remove tddBandwidths, fixes #2)

This commit is contained in:
Henrik
2025-07-28 08:12:36 +02:00
committed by GitHub
parent 0dc94649fe
commit e7f26073b4

View File

@@ -560,7 +560,6 @@
let totalTddBandwidth = 0; let totalTddBandwidth = 0;
let totalVirtualBands = 0; let totalVirtualBands = 0;
let hasTddBand = false; let hasTddBand = false;
let tddBandwidths = [];
nrcaItem.components.forEach(checkMmwaveBandwidth); nrcaItem.components.forEach(checkMmwaveBandwidth);
@@ -582,7 +581,6 @@
hasTddBand = true; hasTddBand = true;
const bandwidth = calculateBandwidth(component); const bandwidth = calculateBandwidth(component);
totalTddBandwidth += bandwidth; totalTddBandwidth += bandwidth;
tddBandwidths.push(bandwidth);
totalVirtualBands += calculateVirtualBands(component); totalVirtualBands += calculateVirtualBands(component);
} else if (nrFddBands.has(component.band)) { } else if (nrFddBands.has(component.band)) {
hasFddBand = true; hasFddBand = true;