Fired the babysitter

Added toggles to dsiable the "System Overheated" alert and all logging.
This commit is contained in:
FrogAi
2024-03-15 18:53:21 -07:00
parent af04cd6c65
commit 57cb96cade
9 changed files with 81 additions and 11 deletions

View File

@@ -297,6 +297,9 @@ def thermald_thread(end_event, hw_queue) -> None:
elif current_band.max_temp is not None and all_comp_temp > current_band.max_temp:
thermal_status = list(THERMAL_BANDS.keys())[band_idx + 1]
if params.get_bool("FireTheBabysitter") and params.get_bool("MuteOverheated"):
thermal_status = ThermalStatus.green
# **** starting logic ****
startup_conditions["up_to_date"] = params.get("Offroad_ConnectivityNeeded") is None or params.get_bool("DisableUpdates") or params.get_bool("SnoozeUpdate")