mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-25 20:42:10 +08:00
change it up
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user