|
|
|
@ -276,10 +276,10 @@ def thermald_thread(): |
|
|
|
|
if max_cpu_temp > 107. or bat_temp >= 63. or (has_relay and (started_ts is None) and max_cpu_temp > 75.0): |
|
|
|
|
# onroad not allowed |
|
|
|
|
thermal_status = ThermalStatus.danger |
|
|
|
|
elif max_comp_temp > 100.0 or bat_temp > 60.: |
|
|
|
|
elif max_comp_temp > 96.0 or bat_temp > 60.: |
|
|
|
|
# hysteresis between onroad not allowed and engage not allowed |
|
|
|
|
thermal_status = clip(thermal_status, ThermalStatus.red, ThermalStatus.danger) |
|
|
|
|
elif max_cpu_temp > 97.0: |
|
|
|
|
elif max_cpu_temp > 94.0: |
|
|
|
|
# hysteresis between engage not allowed and uploader not allowed |
|
|
|
|
thermal_status = clip(thermal_status, ThermalStatus.yellow, ThermalStatus.red) |
|
|
|
|
elif max_cpu_temp > 80.0: |
|
|
|
|