mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 04:50:29 -04: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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user