thermald: consider pmic in component temp management (#24708)

old-commit-hash: c8c21baf50
taco
Jason Young 3 years ago committed by GitHub
parent 7a2d0b64eb
commit e683db37b8
  1. 2
      selfdrive/thermald/thermald.py

@ -244,7 +244,7 @@ def thermald_thread(end_event, hw_queue):
current_filter.update(msg.deviceState.batteryCurrent / 1e6)
max_comp_temp = temp_filter.update(
max(max(msg.deviceState.cpuTempC), msg.deviceState.memoryTempC, max(msg.deviceState.gpuTempC))
max(max(msg.deviceState.cpuTempC), msg.deviceState.memoryTempC, max(msg.deviceState.gpuTempC), max(msg.deviceState.pmicTempC))
)
if fan_controller is not None:

Loading…
Cancel
Save