mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
ADSB demod: do not apply channel sample rate if it is 0. Fixes #1165
This commit is contained in:
parent
74497a68a0
commit
82ebab8ac1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user