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

pull/24712/head
Jason Young 3 years ago committed by GitHub
parent dd10a83708
commit c8c21baf50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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