FanSensor: Add configurable min max
Allow Min and Max reading to be configured
Tested-by: Set a fan to a different Min and it worked.
Change-Id: Ibeebcaa9672d7a9cd9511c3845f5b317db8962c8
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/TachSensor.hpp b/include/TachSensor.hpp
index c9aa80a..174ce56 100644
--- a/include/TachSensor.hpp
+++ b/include/TachSensor.hpp
@@ -52,7 +52,8 @@
const std::shared_ptr<RedundancySensor> &redundancy,
boost::asio::io_service &io, const std::string &fanName,
std::vector<thresholds::Threshold> &&thresholds,
- const std::string &sensorConfiguration);
+ const std::string &sensorConfiguration,
+ const std::pair<size_t, size_t> &limits);
~TachSensor();
private: