|  |  | @ -425,6 +425,7 @@ void panda_state_thread(PubMaster *pm, std::vector<Panda *> pandas, bool spoofin | 
			
		
	
		
		
			
				
					
					|  |  |  |     send_peripheral_state(pm, peripheral_panda); |  |  |  |     send_peripheral_state(pm, peripheral_panda); | 
			
		
	
		
		
			
				
					
					|  |  |  |     ignition = send_panda_states(pm, pandas, spoofing_started); |  |  |  |     ignition = send_panda_states(pm, pandas, spoofing_started); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     // TODO: make this check fast, currently takes 16ms
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     // check if we have new pandas and are offroad
 |  |  |  |     // check if we have new pandas and are offroad
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (!ignition && (pandas.size() != Panda::list().size())) { |  |  |  |     if (!ignition && (pandas.size() != Panda::list().size())) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       LOGW("Reconnecting to changed amount of pandas!"); |  |  |  |       LOGW("Reconnecting to changed amount of pandas!"); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |