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

This reverts commit 5ab1b471582c259a3041b00f7fcd217e7814b609.

old-commit-hash: cbd404b954
taco
Adeeb Shihadeh 3 years ago
parent 7061996882
commit 71d489a41e
  1. 2
      selfdrive/thermald/thermald.py

@ -249,7 +249,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(msg.deviceState.pmicTempC))
max(max(msg.deviceState.cpuTempC), msg.deviceState.memoryTempC, max(msg.deviceState.gpuTempC))
)
if fan_controller is not None:

Loading…
Cancel
Save