1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

Initialise m_spectrumSink pointer

This commit is contained in:
Jon Beniston 2020-10-09 20:04:53 +01:00
parent 1d210b1fb1
commit 0e4c3ec317

View File

@ -39,8 +39,9 @@ PacketModSource::PacketModSource() :
m_bitIdx(0),
m_last5Bits(0),
m_state(idle),
m_scrambler(0x10800, 0x0)
{
m_scrambler(0x10800, 0x0),
m_spectrumSink(nullptr)
{
m_lowpass.create(301, m_channelSampleRate, 22000.0 / 2.0);
qDebug() << "PacketModSource::PacketModSource creating BPF : " << m_channelSampleRate;
m_bandpass.create(301, m_channelSampleRate, 800.0, 2600.0);