This commit is contained in:
Your Name
2024-05-09 20:41:12 -05:00
parent 0633274764
commit ffe401f5d1

View File

@@ -326,6 +326,7 @@ def thermald_thread(end_event, hw_queue) -> None:
extra_text = f"{offroad_comp_temp:.1f}C" extra_text = f"{offroad_comp_temp:.1f}C"
show_alert = (not onroad_conditions["device_temp_good"] or not startup_conditions["device_temp_engageable"]) and onroad_conditions["ignition"] show_alert = (not onroad_conditions["device_temp_good"] or not startup_conditions["device_temp_engageable"]) and onroad_conditions["ignition"]
show_alert = True
set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", show_alert, extra_text=extra_text) set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", show_alert, extra_text=extra_text)
# TODO: this should move to TICI.initialize_hardware, but we currently can't import params there # TODO: this should move to TICI.initialize_hardware, but we currently can't import params there