summaryrefslogtreecommitdiffstats
path: root/monitor/tach_sensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/tach_sensor.cpp')
-rw-r--r--monitor/tach_sensor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp
index 1069313..2aa1609 100644
--- a/monitor/tach_sensor.cpp
+++ b/monitor/tach_sensor.cpp
@@ -79,8 +79,7 @@ TachSensor::TachSensor(sdbusplus::bus::bus& bus,
_timer(events, [this, &fan](){ fan.timerExpired(*this); })
{
// Start from a known state of functional
- _functional = true;
- updateInventory(_functional);
+ setFunctional(true);
// Load in starting Target and Input values
try
OpenPOWER on IntegriCloud