hwmontemp: Add emc1412 and emc1414 support
Adds EMC1412 and EMC1414 in sensorTypes array
Tested:
Tested on a system that uses emc1412 and emc1414 for temperature monitoring.
Signed-off-by: Gilbert Chen <gilbert.chen@hpe.com>
Change-Id: Ie4c53b2aa47a2d64d2e42c388ddf2391ebb35745
diff --git a/src/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index c972cf3..b5cbf23 100644
--- a/src/HwmonTempMain.cpp
+++ b/src/HwmonTempMain.cpp
@@ -40,8 +40,10 @@
static constexpr bool DEBUG = false;
namespace fs = std::filesystem;
-static constexpr std::array<const char*, 11> sensorTypes = {
+static constexpr std::array<const char*, 13> sensorTypes = {
+ "xyz.openbmc_project.Configuration.EMC1412",
"xyz.openbmc_project.Configuration.EMC1413",
+ "xyz.openbmc_project.Configuration.EMC1414",
"xyz.openbmc_project.Configuration.MAX31725",
"xyz.openbmc_project.Configuration.MAX31730",
"xyz.openbmc_project.Configuration.MAX6581",