Skip to content

Commit f1c320d

Browse files
jyoung8607maxime-desroches
authored andcommitted
thermald: consider pmic in component temp management (#24708)
1 parent dc10a99 commit f1c320d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selfdrive/thermald/thermald.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def thermald_thread(end_event, hw_queue):
244244
current_filter.update(msg.deviceState.batteryCurrent / 1e6)
245245

246246
max_comp_temp = temp_filter.update(
247-
max(max(msg.deviceState.cpuTempC), msg.deviceState.memoryTempC, max(msg.deviceState.gpuTempC))
247+
max(max(msg.deviceState.cpuTempC), msg.deviceState.memoryTempC, max(msg.deviceState.gpuTempC), max(msg.deviceState.pmicTempC))
248248
)
249249

250250
if fan_controller is not None:

0 commit comments

Comments
 (0)