|  |  | @ -13,7 +13,7 @@ from cereal import log | 
			
		
	
		
		
			
				
					
					|  |  |  | from common.filter_simple import FirstOrderFilter |  |  |  | from common.filter_simple import FirstOrderFilter | 
			
		
	
		
		
			
				
					
					|  |  |  | from common.hardware import EON, HARDWARE, TICI |  |  |  | from common.hardware import EON, HARDWARE, TICI | 
			
		
	
		
		
			
				
					
					|  |  |  | from common.numpy_fast import clip, interp |  |  |  | from common.numpy_fast import clip, interp | 
			
		
	
		
		
			
				
					
					|  |  |  | from common.params import Params, put_nonblocking |  |  |  | from common.params import Params | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | from common.realtime import DT_TRML, sec_since_boot |  |  |  | from common.realtime import DT_TRML, sec_since_boot | 
			
		
	
		
		
			
				
					
					|  |  |  | from selfdrive.controls.lib.alertmanager import set_offroad_alert |  |  |  | from selfdrive.controls.lib.alertmanager import set_offroad_alert | 
			
		
	
		
		
			
				
					
					|  |  |  | from selfdrive.loggerd.config import get_available_percent |  |  |  | from selfdrive.loggerd.config import get_available_percent | 
			
		
	
	
		
		
			
				
					|  |  | @ -379,7 +379,7 @@ def thermald_thread(): | 
			
		
	
		
		
			
				
					
					|  |  |  |       if startup_conditions["ignition"]: |  |  |  |       if startup_conditions["ignition"]: | 
			
		
	
		
		
			
				
					
					|  |  |  |         cloudlog.event("Startup blocked", startup_conditions=startup_conditions) |  |  |  |         cloudlog.event("Startup blocked", startup_conditions=startup_conditions) | 
			
		
	
		
		
			
				
					
					|  |  |  |       if should_start_prev or (count == 0): |  |  |  |       if should_start_prev or (count == 0): | 
			
		
	
		
		
			
				
					
					|  |  |  |         put_nonblocking("IsOffroad", "1") |  |  |  |         params.put("IsOffroad", "1") | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       started_ts = None |  |  |  |       started_ts = None | 
			
		
	
		
		
			
				
					
					|  |  |  |       if off_ts is None: |  |  |  |       if off_ts is None: | 
			
		
	
	
		
		
			
				
					|  |  | 
 |