diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-08-14 11:07:46 -0500 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2017-08-16 09:47:01 -0500 |
commit | 172f393696b967f23e1d166fc7eb952a11994c5d (patch) | |
tree | d4b35553bcd918edb64e8230f33e08fc454537f6 /presence/templates | |
parent | be25083d3d74310ecd1024a3e7986341f4d3c549 (diff) | |
download | phosphor-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 'presence/templates')
0 files changed, 0 insertions, 0 deletions