Create a FanSpeedObject interface
Create the FanSpeedObject target interface when the fanx_target sysfs
file exists. The "xyz.openbmc_project.Control.Target" interface is on
the /xyz/openbmc_project/sensors/fan_tac/fan[#] object paths.
Change-Id: Ib4a099cff17cacea501b474969f292516db212b5
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/hwmon.hpp b/hwmon.hpp
index 2202df0..6ae1885 100644
--- a/hwmon.hpp
+++ b/hwmon.hpp
@@ -8,9 +8,11 @@
{
static constexpr auto cinput = "input";
static constexpr auto clabel = "label";
+static constexpr auto ctarget = "target";
static const std::string input = cinput;
static const std::string label = clabel;
+static const std::string target = ctarget;
}
namespace type