summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2017-08-18 19:17:27 -0700
committerTom Joseph <tomjoseph@in.ibm.com>2018-02-07 04:51:26 +0000
commite9a640561482070923f90a5444320494509ae0f3 (patch)
treec6f78c80317a6b3fa5a16361160439d3660c3576
parent6ae3df34c6e7888f40d4a87891cf52e69aa8515b (diff)
downloadphosphor-host-ipmid-e9a640561482070923f90a5444320494509ae0f3.tar.gz
phosphor-host-ipmid-e9a640561482070923f90a5444320494509ae0f3.zip
Add Control.FanPwm as interface.
Change-Id: I20c2c162a28b7aabf14ae17ae2f456a6b10e0e6b Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Kun Yi <kunyi@google.com>
-rw-r--r--sensorhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index de3c228..036eb22 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -412,6 +412,7 @@ ipmi_ret_t ipmi_sen_get_sensor_type(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
const std::set<std::string> analogSensorInterfaces =
{
"xyz.openbmc_project.Sensor.Value",
+ "xyz.openbmc_project.Control.FanPwm",
};
bool isAnalogSensor(const std::string& interface)
OpenPOWER on IntegriCloud