thermald: log filtered max temp (#28564)

This commit is contained in:
Adeeb Shihadeh
2023-06-15 17:08:47 -07:00
committed by GitHub
parent 3fc104fb6d
commit cb4c7118a5
2 changed files with 2 additions and 1 deletions
+1 -1
Submodule cereal updated: f319a83ab7...3a8e4c9d04
+1
View File
@@ -253,6 +253,7 @@ def thermald_thread(end_event, hw_queue):
# this drives the thermal status while onroad
temp_sources.append(max(msg.deviceState.pmicTempC))
all_comp_temp = all_temp_filter.update(max(temp_sources))
msg.deviceState.maxTempC = all_comp_temp
if fan_controller is not None:
msg.deviceState.fanSpeedPercentDesired = fan_controller.update(all_comp_temp, onroad_conditions["ignition"])