summaryrefslogtreecommitdiffstats
path: root/monitor/fan.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2018-01-26 12:53:15 -0600
committerMatthew Barth <msbarth@linux.vnet.ibm.com>2018-01-30 15:29:43 +0000
commit0a9fe160d600ece0c5797741042d0e6f975ab101 (patch)
tree37e1948ae086507bb06db636487151e20c87cac5 /monitor/fan.hpp
parent9a5b6994c745480a78ef658148cfd96dd3e12bdb (diff)
downloadphosphor-fan-presence-0a9fe160d600ece0c5797741042d0e6f975ab101.tar.gz
phosphor-fan-presence-0a9fe160d600ece0c5797741042d0e6f975ab101.zip
Set tach sensor to functional on start
With the addition of a functional state for each fan rotor tach sensor, these should be set to functional on each power on. This is done during fan monitor init mode when no monitor is done and then again once monitoring mode begins. Change-Id: I3c73c1be5f912c7cee8499f47cc799ac3c20983b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'monitor/fan.hpp')
-rw-r--r--monitor/fan.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/monitor/fan.hpp b/monitor/fan.hpp
index bd8179f..0b0c047 100644
--- a/monitor/fan.hpp
+++ b/monitor/fan.hpp
@@ -16,17 +16,6 @@ namespace monitor
{
/**
- * The mode fan monitor will run in:
- * - init - only do the initialization steps
- * - monitor - run normal monitoring algorithm
- */
-enum class Mode
-{
- init,
- monitor
-};
-
-/**
* @class InvalidSensorError
*
* An exception type for sensors that don't exist or
OpenPOWER on IntegriCloud