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
1a55e32865
commit
9d1160e7cd
@ -153,7 +153,7 @@ void FreqScanner::start()
|
|||||||
|
|
||||||
qDebug("FreqScanner::start");
|
qDebug("FreqScanner::start");
|
||||||
m_thread = new QThread();
|
m_thread = new QThread();
|
||||||
m_basebandSink = new FreqScannerBaseband();
|
m_basebandSink = new FreqScannerBaseband(this);
|
||||||
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
|
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
|
||||||
.arg(m_channelId)
|
.arg(m_channelId)
|
||||||
.arg(m_deviceAPI->getDeviceSetIndex())
|
.arg(m_deviceAPI->getDeviceSetIndex())
|
||||||
|
@ -27,7 +27,8 @@
|
|||||||
|
|
||||||
MESSAGE_CLASS_DEFINITION(FreqScannerBaseband::MsgConfigureFreqScannerBaseband, Message)
|
MESSAGE_CLASS_DEFINITION(FreqScannerBaseband::MsgConfigureFreqScannerBaseband, Message)
|
||||||
|
|
||||||
FreqScannerBaseband::FreqScannerBaseband() :
|
FreqScannerBaseband::FreqScannerBaseband(FreqScanner *freqScanner) :
|
||||||
|
m_freqScanner(freqScanner),
|
||||||
m_messageQueueToGUI(nullptr)
|
m_messageQueueToGUI(nullptr)
|
||||||
{
|
{
|
||||||
qDebug("FreqScannerBaseband::FreqScannerBaseband");
|
qDebug("FreqScannerBaseband::FreqScannerBaseband");
|
||||||
|
@ -63,7 +63,7 @@ public:
|
|||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
FreqScannerBaseband();
|
FreqScannerBaseband(FreqScanner *freqScanner);
|
||||||
~FreqScannerBaseband();
|
~FreqScannerBaseband();
|
||||||
void reset();
|
void reset();
|
||||||
void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end);
|
void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end);
|
||||||
|
Loading…
Reference in New Issue
Block a user