Skip to content

Commit c8c21ba

Browse files
authored
thermald: consider pmic in component temp management (commaai#24708)
1 parent dd10a83 commit c8c21ba

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)