Skip to content

Commit

Permalink
Revert "thermald: consider pmic in component temp management (#24708)"
Browse files Browse the repository at this point in the history
This reverts commit c8c21ba.
  • Loading branch information
adeebshihadeh committed Jun 13, 2022
1 parent f05166a commit cbd404b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/thermald/thermald.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cbd404b

Please sign in to comment.