wip
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user