mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	Merge pull request #935 from srcejon/fix_750_magsq
Improve packet demod performance
This commit is contained in:
		
						commit
						fd8577cc60
					
				| @ -109,7 +109,7 @@ void PacketDemodSink::processOneSample(Complex &ci) | |||||||
|     m_magsqCount++; |     m_magsqCount++; | ||||||
| 
 | 
 | ||||||
|     m_corrBuf[m_corrIdx] = fmDemod; |     m_corrBuf[m_corrIdx] = fmDemod; | ||||||
|     if (m_corrCnt >= m_correlationLength && magsq > 1e-7) |     if (m_corrCnt >= m_correlationLength) | ||||||
|     { |     { | ||||||
|         // Correlate with 1200 + 2200 baud complex exponentials
 |         // Correlate with 1200 + 2200 baud complex exponentials
 | ||||||
|         Complex corrF0 = 0.0f; |         Complex corrF0 = 0.0f; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user