diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-01-21 19:50:17 -0600 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-04-28 20:52:15 -0500 |
commit | 1f31c03d0a05dc18467f995e7220232a4a51e938 (patch) | |
tree | 04349ed5a84730a031d7691d94cb7043d61ece70 /monitor/fan.hpp | |
parent | 30abbef89b0c39d88c8f7704bcfffceac7963fd2 (diff) | |
download | phosphor-fan-presence-1f31c03d0a05dc18467f995e7220232a4a51e938.tar.gz phosphor-fan-presence-1f31c03d0a05dc18467f995e7220232a4a51e938.zip |
Allow override of deviation with absolute minimum RPM
If the devation is less than zero, treat as an absolute minimum RPM value
Diffstat (limited to 'monitor/fan.hpp')
-rw-r--r-- | monitor/fan.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor/fan.hpp b/monitor/fan.hpp index fb87b66..48c6df0 100644 --- a/monitor/fan.hpp +++ b/monitor/fan.hpp @@ -176,6 +176,11 @@ class Fan const size_t _deviation; /** + * @brief True if deviation indicates minimum absolute RPM + */ + bool _deviationIsMinRPM; + + /** * The number of sensors that must be nonfunctional at the * same time in order for the fan to be set to nonfunctional * in the inventory. |