mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-27 02:09:14 -05:00
Fixed channel analyzer initialization phase
This commit is contained in:
parent
6a59ac7e10
commit
53cc5b7db0
@ -352,6 +352,7 @@ ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, QWidget* parent) :
|
|||||||
ui->scopeGUI->setBuddies(m_scopeVis->getInputMessageQueue(), m_scopeVis, ui->glScope);
|
ui->scopeGUI->setBuddies(m_scopeVis->getInputMessageQueue(), m_scopeVis, ui->glScope);
|
||||||
|
|
||||||
applySettings();
|
applySettings();
|
||||||
|
setNewRate(m_spanLog2);
|
||||||
}
|
}
|
||||||
|
|
||||||
ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
||||||
@ -370,6 +371,8 @@ ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
|||||||
|
|
||||||
bool ChannelAnalyzerGUI::setNewRate(int spanLog2)
|
bool ChannelAnalyzerGUI::setNewRate(int spanLog2)
|
||||||
{
|
{
|
||||||
|
qDebug("ChannelAnalyzerGUI::setNewRate");
|
||||||
|
|
||||||
if ((spanLog2 < 0) || (spanLog2 > 6)) {
|
if ((spanLog2 < 0) || (spanLog2 > 6)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user