mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
thermald: consider pmic in component temp management (#24708)
old-commit-hash: c8c21baf50865b0db2cc9345901bb98904cfbaaf
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user