mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Morse Decoder: added option to show decoder thershold trace or not
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user