mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-07-29 20:22:26 -04:00
ATV Demod: avoid infinite recursion in apply settings because of channel marker setting
This commit is contained in:
parent
76a0dc3e2d
commit
1ae2135c3b
@ -310,7 +310,9 @@ void ATVDemodGUI::applySettings()
|
||||
<< " m_objATVDemod.sampleRate: " << m_objATVDemod->GetSampleRate();
|
||||
|
||||
//m_objChannelMarker.setBandwidth(m_objATVDemod->GetSampleRate()); it is unreliable at this moment
|
||||
m_blnDoApplySettings = false; // avoid infinite recursion
|
||||
m_objChannelMarker.setBandwidth(m_objChannelizer->getInputSampleRate());
|
||||
m_blnDoApplySettings = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user