1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

Morse Decoder: added option to show decoder thershold trace or not

This commit is contained in:
f4exb
2024-05-23 18:51:54 +02:00
parent 5841290df4
commit 4d5958f630
20 changed files with 123 additions and 13 deletions
@@ -229,7 +229,7 @@ int MorseDecoderWorker::processBuffer(QByteArray& bytesBuffer)
int itrace = ftrace * i;
int ithres = fthres * i;
float re = trace[itrace];
float im = thresholds[ithres];
float im = m_settings.m_showThreshold ? thresholds[ithres] : 3.16227766017e-2; // -30dB
i++;
s = Sample(re*SDR_RX_SCALEF, im*SDR_RX_SCALEF);
}