Fix Exit Air Temp Sensor

Add custom destructor for CFM sensor as it is configuration
driven and can be destroyed unlike exit air. Having this not
have a destructor caused the old sensor loop to keep running
and not be destroyed. Also attempt to pre-populate inlet temp
as it doesn't get updated as frequently as tach readings.

Tested-by: sensor list started to work again and readings
were appropriate.

Change-Id: Id5b42a73a22ff860149ced1ba073d81fe84a9375
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/ExitAirTempSensor.hpp b/include/ExitAirTempSensor.hpp
index f18fd9b..bd8b675 100644
--- a/include/ExitAirTempSensor.hpp
+++ b/include/ExitAirTempSensor.hpp
@@ -23,7 +23,7 @@
               sdbusplus::asio::object_server &objectServer,
               std::vector<thresholds::Threshold> &&thresholds,
               std::shared_ptr<ExitAirTempSensor> &parent);
-    ~CFMSensor() = default;
+    ~CFMSensor();
 
     bool calculate(double &);
     void updateReading(void);
@@ -35,6 +35,7 @@
     boost::container::flat_map<std::string, std::pair<double, double>>
         tachRanges;
     std::shared_ptr<sdbusplus::asio::connection> dbusConnection;
+    sdbusplus::asio::object_server &objServer;
     void addTachRanges(const std::string &serviceName, const std::string &path);
 };
 
@@ -74,4 +75,4 @@
     double getTotalCFM(void);
     bool calculate(double &val);
     void setupMatches(void);
-};
\ No newline at end of file
+};