mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	Fix RSSI calculation in DSD and Navtex
This commit is contained in:
		
							parent
							
								
									ba01da7827
								
							
						
					
					
						commit
						ad2bb38bfc
					
				| @ -227,6 +227,8 @@ void DSCDemodSink::receiveBit(bool bit) | ||||
|                     m_dscDecoder.init(m_phasingPatterns[i].m_offset); | ||||
|                     m_gotSOP = true; | ||||
|                     m_bitCount = 0; | ||||
|                     m_rssiMagSqSum = 0.0; | ||||
|                     m_rssiMagSqCount = 0; | ||||
|                     break; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
| @ -329,6 +329,8 @@ void NavtexDemodSink::receiveBit(bool bit) | ||||
|                 m_gotSOP = true; | ||||
|                 m_bitCount = 0; | ||||
|                 m_sitorBDecoder.init(); | ||||
|                 m_rssiMagSqSum = 0.0; | ||||
|                 m_rssiMagSqCount = 0; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user