summaryrefslogtreecommitdiffstats
path: root/control/gen-fan-zone-defs.py
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-08-14 11:07:46 -0500
committerMatthew Barth <msbarth@us.ibm.com>2017-08-16 09:47:01 -0500
commit172f393696b967f23e1d166fc7eb952a11994c5d (patch)
treed4b35553bcd918edb64e8230f33e08fc454537f6 /control/gen-fan-zone-defs.py
parentbe25083d3d74310ecd1024a3e7986341f4d3c549 (diff)
downloadphosphor-fan-presence-172f393696b967f23e1d166fc7eb952a11994c5d.tar.gz
phosphor-fan-presence-172f393696b967f23e1d166fc7eb952a11994c5d.zip
Add factor parameter to inc/dec action functions
The factor parameter is used to correctly determine the increase or decrease speed delta based on sensor inputs that have a scale. To get the net speed delta change, the factor is applied to the difference in sensor value and the defined state at which a speed change should be requested. Change-Id: I2aaa8f6b294b38d1f38238593dd851c3a205eb7a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/gen-fan-zone-defs.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud