summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-04-20 06:00:09 -0500
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-05-16 04:05:36 -0500
commit6323218846f9db94874ed127acd8afeac993a481 (patch)
tree76c46fd969c8002677b87064ef9219a81119d2d2
parent292601f6785bc57c23a437a107d7f3065b2c4f2b (diff)
downloadphosphor-hwmon-6323218846f9db94874ed127acd8afeac993a481.tar.gz
phosphor-hwmon-6323218846f9db94874ed127acd8afeac993a481.zip
Increase raw fan control steps to avoid fan hunting
-rw-r--r--fan_speed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fan_speed.cpp b/fan_speed.cpp
index d98e052..762c389 100644
--- a/fan_speed.cpp
+++ b/fan_speed.cpp
@@ -34,7 +34,7 @@ uint64_t FanSpeed::target(uint64_t value)
if (directPWM)
{
ioAccess.write(
- (value * 255) / 100,
+ (value * 255) / 1000,
type::pwm,
id,
entry::rawpwm,
OpenPOWER on IntegriCloud