|  |  | @ -40,8 +40,8 @@ static void enable_event_processing(bool yes) { | 
			
		
	
		
		
			
				
					
					|  |  |  | static void set_awake(UIState *s, bool awake) { |  |  |  | static void set_awake(UIState *s, bool awake) { | 
			
		
	
		
		
			
				
					
					|  |  |  | #ifdef QCOM |  |  |  | #ifdef QCOM | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (awake) { |  |  |  |   if (awake) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     // 30 second timeout at 30 fps
 |  |  |  |     // 30 second timeout
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     s->awake_timeout = 30*30; |  |  |  |     s->awake_timeout = 30*UI_FREQ; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (s->awake != awake) { |  |  |  |   if (s->awake != awake) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     s->awake = awake; |  |  |  |     s->awake = awake; | 
			
		
	
	
		
		
			
				
					|  |  | @ -395,7 +395,7 @@ void handle_message(UIState *s, SubMaster &sm) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (sm.updated("health")) { |  |  |  |   if (sm.updated("health")) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     scene.hwType = sm["health"].getHealth().getHwType(); |  |  |  |     scene.hwType = sm["health"].getHealth().getHwType(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     s->hardware_timeout = 5*30; // 5 seconds at 30 fps
 |  |  |  |     s->hardware_timeout = 5*UI_FREQ; // 5 seconds
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (sm.updated("driverState")) { |  |  |  |   if (sm.updated("driverState")) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     scene.driver_state = sm["driverState"].getDriverState(); |  |  |  |     scene.driver_state = sm["driverState"].getDriverState(); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |