mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 01:18:38 -05:00
Frequency Scanner: initialize pointer to FrequencyScanner. Fixes #2262
This commit is contained in:
parent
8a6290a5eb
commit
d82e3051bf
@ -153,7 +153,7 @@ void FreqScanner::start()
|
||||
|
||||
qDebug("FreqScanner::start");
|
||||
m_thread = new QThread();
|
||||
m_basebandSink = new FreqScannerBaseband();
|
||||
m_basebandSink = new FreqScannerBaseband(this);
|
||||
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
|
||||
.arg(m_channelId)
|
||||
.arg(m_deviceAPI->getDeviceSetIndex())
|
||||
|
@ -27,7 +27,8 @@
|
||||
|
||||
MESSAGE_CLASS_DEFINITION(FreqScannerBaseband::MsgConfigureFreqScannerBaseband, Message)
|
||||
|
||||
FreqScannerBaseband::FreqScannerBaseband() :
|
||||
FreqScannerBaseband::FreqScannerBaseband(FreqScanner *freqScanner) :
|
||||
m_freqScanner(freqScanner),
|
||||
m_messageQueueToGUI(nullptr)
|
||||
{
|
||||
qDebug("FreqScannerBaseband::FreqScannerBaseband");
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
{ }
|
||||
};
|
||||
|
||||
FreqScannerBaseband();
|
||||
FreqScannerBaseband(FreqScanner *freqScanner);
|
||||
~FreqScannerBaseband();
|
||||
void reset();
|
||||
void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end);
|
||||
|
Loading…
Reference in New Issue
Block a user