mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 22:12:05 +08:00
thermald: consider pmic in component temp management (#24708)
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