wip
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user