mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-15 14:22:11 +08:00
limit c2 fan to 5k rpm
old-commit-hash: 4ee214376a14906808c2e2fa5daed0180b9f7581
This commit is contained in:
@@ -130,7 +130,7 @@ def handle_fan_eon(max_cpu_temp, bat_temp, fan_speed, ignition):
|
||||
|
||||
|
||||
def handle_fan_uno(max_cpu_temp, bat_temp, fan_speed, ignition):
|
||||
new_speed = int(interp(max_cpu_temp, [40.0, 80.0], [0, 100]))
|
||||
new_speed = int(interp(max_cpu_temp, [40.0, 80.0], [0, 80]))
|
||||
|
||||
if not ignition:
|
||||
new_speed = min(30, new_speed)
|
||||
|
||||
Reference in New Issue
Block a user