Exit Air: Allow destruction
In the current mode a configuration reload would not
cause thresholds to update. Allow destruction so we
reload the interfaces each time.
Change-Id: I1fec9c6fc9ae1a20a95477157ad399c73e3f9c75
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/ExitAirTempSensor.hpp b/include/ExitAirTempSensor.hpp
index e06c20d..24f87db 100644
--- a/include/ExitAirTempSensor.hpp
+++ b/include/ExitAirTempSensor.hpp
@@ -71,6 +71,7 @@
double inletTemp = std::numeric_limits<double>::quiet_NaN();
std::shared_ptr<sdbusplus::asio::connection> dbusConnection;
+ sdbusplus::asio::object_server& objServer;
std::chrono::time_point<std::chrono::system_clock> lastTime;
double getTotalCFM(void);
bool calculate(double& val);