This commit is contained in:
Your Name
2024-05-09 21:51:59 -05:00
parent 8b8e78d04a
commit b9b7fff3d0

View File

@@ -209,8 +209,8 @@ def thermald_thread(end_event, hw_queue) -> None:
offline_mode = device_management and params.get_bool("OfflineMode")
# For testing a temporary overtemp notice
# set to 200 to show
test_temp_count = 200
# set to 20 to show
test_temp_count = 20
while not end_event.is_set():
sm.update(PANDA_STATES_TIMEOUT)
@@ -333,6 +333,7 @@ def thermald_thread(end_event, hw_queue) -> None:
if test_temp_count > 0:
show_alert = True
test_temp_count = test_temp_count - 1
print (test_temp_count)
set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", show_alert, extra_text=extra_text)