summaryrefslogtreecommitdiffstats
path: root/control/functor.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-11-22 14:52:12 -0600
committerMatthew Barth <msbarth@us.ibm.com>2017-11-27 14:45:36 -0600
commit5856023d05c6b26020675cce5ce6eca85460bec2 (patch)
treec63b72098ad74c004e4692f7c66f954dfa1e5d09 /control/functor.hpp
parent0081fdb82a487cbe48a467bc87484f79085a00b5 (diff)
downloadphosphor-fan-presence-5856023d05c6b26020675cce5ce6eca85460bec2.tar.gz
phosphor-fan-presence-5856023d05c6b26020675cce5ce6eca85460bec2.zip
Update trust group sensor timer start
Trust group sensors' timers should only start when the sensor is currently functional and its target and input do not match. This handles the case where a sensor within a trust group does not get a target set resulting in both the target and input to be zero. At anytime a sensor's target and input are equal, the timer to mark them as nonfunctional should not start. Change-Id: I8e4fd33a5bcbd25854e5954b41646127982eedd3 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/functor.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud