summaryrefslogtreecommitdiffstats
path: root/monitor/tach_sensor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/tach_sensor.hpp')
-rw-r--r--monitor/tach_sensor.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/monitor/tach_sensor.hpp b/monitor/tach_sensor.hpp
index 59b99d2..ba3465a 100644
--- a/monitor/tach_sensor.hpp
+++ b/monitor/tach_sensor.hpp
@@ -94,12 +94,9 @@ class TachSensor
}
/**
- * Sets functional status
+ * Set the functional status and update inventory to match
*/
- inline void setFunctional(bool functional)
- {
- _functional = functional;
- }
+ void setFunctional(bool functional);
/**
* @brief Says if the timer is running or not
@@ -202,7 +199,7 @@ class TachSensor
* @brief If functional (not too slow). The parent
* fan object sets this.
*/
- bool _functional = true;
+ bool _functional;
/**
* @brief If the sensor has a Target property (can set speed)
OpenPOWER on IntegriCloud