From b9b7fff3d0e4a5f4011464db4437e607172746ce Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 9 May 2024 21:51:59 -0500 Subject: [PATCH] wip --- selfdrive/thermald/thermald.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 09597c7..d962825 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -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)