change it up

This commit is contained in:
Jason Wen
2024-04-18 16:59:19 -04:00
parent 2030196c8c
commit 49ab5a1ca2
+1 -1
View File
@@ -312,7 +312,7 @@ def thermald_thread(end_event, hw_queue) -> None:
# user-forced status
startup_conditions["not_force_offroad"] = not params.get_bool("ForceOffroad")
if not startup_conditions["not_force_offroad"]:
set_offroad_alert("Offroad_ForceStatus", True)
set_offroad_alert_if_changed("Offroad_ForceStatus", True)
# if the temperature enters the danger zone, go offroad to cool down
onroad_conditions["device_temp_good"] = thermal_status < ThermalStatus.danger