summaryrefslogtreecommitdiffstats
path: root/hwmon.hpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-06 20:44:05 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-17 20:35:53 -0500
commit5afe21a525e975d9307ca8306beea866aa10464a (patch)
treeb1cc78098308c164e091b05989d486fd0bc48c77 /hwmon.hpp
parent951a79e7a297ba01298a539478438c9312d1d626 (diff)
downloadphosphor-hwmon-5afe21a525e975d9307ca8306beea866aa10464a.tar.gz
phosphor-hwmon-5afe21a525e975d9307ca8306beea866aa10464a.zip
Detect power current and energy sensors
Change-Id: I058eb1f3093a583ef21dd4be01d3fa535131fbde Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'hwmon.hpp')
-rw-r--r--hwmon.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwmon.hpp b/hwmon.hpp
index 6953492..2202df0 100644
--- a/hwmon.hpp
+++ b/hwmon.hpp
@@ -18,10 +18,16 @@ namespace type
static constexpr auto cfan = "fan";
static constexpr auto ctemp = "temp";
static constexpr auto cvolt = "in";
+static constexpr auto ccurr = "current";
+static constexpr auto cenergy = "energy";
+static constexpr auto cpower = "power";
static const std::string fan = cfan;
static const std::string temp = ctemp;
static const std::string volt = cvolt;
+static const std::string curr = ccurr;
+static const std::string energy = cenergy;
+static const std::string power = cpower;
}
}
OpenPOWER on IntegriCloud