mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 15:00:05 +00:00 
			
		
		
		
	Fix level 2 16-bit data moment references
This commit is contained in:
		
							parent
							
								
									40149ae32c
								
							
						
					
					
						commit
						ac48ac24ab
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -838,10 +838,10 @@ void Level2ProductView::ComputeSweep()
 | 
			
		|||
                  continue;
 | 
			
		||||
               }
 | 
			
		||||
 | 
			
		||||
               const std::uint8_t& dm1 = dataMomentsArray16[i];
 | 
			
		||||
               const std::uint8_t& dm2 = dataMomentsArray16[i + 1];
 | 
			
		||||
               const std::uint8_t& dm3 = nextDataMomentsArray16[i];
 | 
			
		||||
               const std::uint8_t& dm4 = nextDataMomentsArray16[i + 1];
 | 
			
		||||
               const std::uint16_t& dm1 = dataMomentsArray16[i];
 | 
			
		||||
               const std::uint16_t& dm2 = dataMomentsArray16[i + 1];
 | 
			
		||||
               const std::uint16_t& dm3 = nextDataMomentsArray16[i];
 | 
			
		||||
               const std::uint16_t& dm4 = nextDataMomentsArray16[i + 1];
 | 
			
		||||
 | 
			
		||||
               if (dm1 < snrThreshold && dm1 != RANGE_FOLDED &&
 | 
			
		||||
                   dm2 < snrThreshold && dm2 != RANGE_FOLDED &&
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue