wip
This commit is contained in:
@@ -209,7 +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
|
||||
test_temp_count = 120
|
||||
# set to 100 to show
|
||||
test_temp_count = 100
|
||||
|
||||
while not end_event.is_set():
|
||||
sm.update(PANDA_STATES_TIMEOUT)
|
||||
@@ -328,6 +329,7 @@ def thermald_thread(end_event, hw_queue) -> None:
|
||||
extra_text = f"{offroad_comp_temp:.1f}C"
|
||||
show_alert = (not onroad_conditions["device_temp_good"] or not startup_conditions["device_temp_engageable"]) and onroad_conditions["ignition"]
|
||||
|
||||
# Test temperature warning
|
||||
if test_temp_count > 0:
|
||||
show_alert = True
|
||||
test_temp_count = test_temp_count - 1
|
||||
|
||||
Reference in New Issue
Block a user