mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 06:54:39 -04:00
ADSB demod: do not apply channel sample rate if it is 0. Fixes #1165
This commit is contained in:
@@ -235,6 +235,10 @@ void ADSBDemodSink::applyChannelSettings(int channelSampleRate, int channelFrequ
|
||||
<< " channelSampleRate: " << channelSampleRate
|
||||
<< " channelFrequencyOffset: " << channelFrequencyOffset;
|
||||
|
||||
if (channelSampleRate == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ((channelFrequencyOffset != m_channelFrequencyOffset) ||
|
||||
(channelSampleRate != m_channelSampleRate) || force)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user