Increase temperature range

This commit is contained in:
Willem Melching 2020-06-10 15:21:43 -07:00
parent 681ef81ed8
commit c82fda995b

View file

@ -272,10 +272,10 @@ def thermald_thread():
if max_cpu_temp > 107. or bat_temp >= 63.: if max_cpu_temp > 107. or bat_temp >= 63.:
# onroad not allowed # onroad not allowed
thermal_status = ThermalStatus.danger thermal_status = ThermalStatus.danger
elif max_comp_temp > 92.5 or bat_temp > 60.: # CPU throttling starts around ~90C elif max_comp_temp > 100.0 or bat_temp > 60.:
# hysteresis between onroad not allowed and engage not allowed # hysteresis between onroad not allowed and engage not allowed
thermal_status = clip(thermal_status, ThermalStatus.red, ThermalStatus.danger) thermal_status = clip(thermal_status, ThermalStatus.red, ThermalStatus.danger)
elif max_cpu_temp > 87.5: elif max_cpu_temp > 97.0:
# hysteresis between engage not allowed and uploader not allowed # hysteresis between engage not allowed and uploader not allowed
thermal_status = clip(thermal_status, ThermalStatus.yellow, ThermalStatus.red) thermal_status = clip(thermal_status, ThermalStatus.yellow, ThermalStatus.red)
elif max_cpu_temp > 80.0: elif max_cpu_temp > 80.0: