| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -108,13 +108,8 @@ void TouchWheel::Update() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  uint8_t status = ReadRegister(Register::DETECTION_STATUS); | 
					 | 
					 | 
					 | 
					  uint8_t status = ReadRegister(Register::DETECTION_STATUS); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  if (status & 0b10000000) { | 
					 | 
					 | 
					 | 
					  if (status & 0b10000000) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // Still calibrating.
 | 
					 | 
					 | 
					 | 
					    // Still calibrating.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ESP_LOGW(kTag, "awaiting calibration"); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return; | 
					 | 
					 | 
					 | 
					    return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  if (status & 0b01000000) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // Probably okay, but we should keep an eye on this for development.
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ESP_LOGW(kTag, "touchwheel acquisition >16ms"); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  if (status & 0b10) { | 
					 | 
					 | 
					 | 
					  if (status & 0b10) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // Slider detect.
 | 
					 | 
					 | 
					 | 
					    // Slider detect.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    uint8_t pos = ReadRegister(Register::SLIDER_POSITION); | 
					 | 
					 | 
					 | 
					    uint8_t pos = ReadRegister(Register::SLIDER_POSITION); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |