diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-06 20:44:05 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-17 20:35:53 -0500 |
commit | 5afe21a525e975d9307ca8306beea866aa10464a (patch) | |
tree | b1cc78098308c164e091b05989d486fd0bc48c77 /hwmon.hpp | |
parent | 951a79e7a297ba01298a539478438c9312d1d626 (diff) | |
download | phosphor-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.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; } } |