mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 15:32:07 +08:00
thermald: log filtered max temp (#28564)
This commit is contained in:
+1
-1
Submodule cereal updated: f319a83ab7...3a8e4c9d04
@@ -253,6 +253,7 @@ def thermald_thread(end_event, hw_queue):
|
||||
# this drives the thermal status while onroad
|
||||
temp_sources.append(max(msg.deviceState.pmicTempC))
|
||||
all_comp_temp = all_temp_filter.update(max(temp_sources))
|
||||
msg.deviceState.maxTempC = all_comp_temp
|
||||
|
||||
if fan_controller is not None:
|
||||
msg.deviceState.fanSpeedPercentDesired = fan_controller.update(all_comp_temp, onroad_conditions["ignition"])
|
||||
|
||||
Reference in New Issue
Block a user