mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
change fan control to go down faster
This commit is contained in:
parent
4196458803
commit
35e0de3968
@ -4472,7 +4472,7 @@ static void tempmon_setfan(struct ddb_link *link)
|
|||||||
while (pwm < 10 && temp >= link->temp_tab[pwm + 1])
|
while (pwm < 10 && temp >= link->temp_tab[pwm + 1])
|
||||||
pwm += 1;
|
pwm += 1;
|
||||||
} else {
|
} else {
|
||||||
while (pwm > 1 && temp < link->temp_tab[pwm - 2])
|
while (pwm > 1 && temp < (link->temp_tab[pwm] - 2))
|
||||||
pwm -= 1;
|
pwm -= 1;
|
||||||
}
|
}
|
||||||
ddblwritel(link, (pwm << 8), TEMPMON_FANCONTROL);
|
ddblwritel(link, (pwm << 8), TEMPMON_FANCONTROL);
|
||||||
|
Loading…
Reference in New Issue
Block a user