Skip to content

Commit 981fd24

Browse files
AxisRayshajen
authored andcommitted
Added check to ignore specific indices in signal processing.(#134)
1 parent 72145d9 commit 981fd24

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sources/radio/blocks/transmission.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ void Transmission::addSignals(const float* avgPower, const float* rawPower, cons
8484
for (const auto& index : indexes) {
8585
if (!containsWithMargin(m_signals, index, m_groupSize)) {
8686
const auto bestIndex = getBestIndex(index);
87+
if (isIndexIgnored(bestIndex)) {
88+
continue;
89+
}
8790
const auto bestTunedFrequency = getTunedFrequency(m_indexToFrequency(bestIndex), m_config.recordingTuningStep());
8891
Logger::info(
8992
LABEL,

0 commit comments

Comments
 (0)