hwmontemp: Add LM95234 device to sensor types
Add LM95234 Quad Remote Diode and Local Temperature Sensor
to the array of recognized devices.
Tested:
Tested on AMD EthanolX CRB
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: I08de7a9b929d65a8106a64505b66d3a5227246ed
diff --git a/src/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index df29fe3..b01e1fe 100644
--- a/src/HwmonTempMain.cpp
+++ b/src/HwmonTempMain.cpp
@@ -40,7 +40,7 @@
static constexpr float pollRateDefault = 0.5;
namespace fs = std::filesystem;
-static constexpr std::array<const char*, 14> sensorTypes = {
+static constexpr std::array<const char*, 15> sensorTypes = {
"xyz.openbmc_project.Configuration.EMC1412",
"xyz.openbmc_project.Configuration.EMC1413",
"xyz.openbmc_project.Configuration.EMC1414",
@@ -49,6 +49,7 @@
"xyz.openbmc_project.Configuration.MAX6581",
"xyz.openbmc_project.Configuration.MAX6654",
"xyz.openbmc_project.Configuration.SBTSI",
+ "xyz.openbmc_project.Configuration.LM95234",
"xyz.openbmc_project.Configuration.TMP112",
"xyz.openbmc_project.Configuration.TMP175",
"xyz.openbmc_project.Configuration.TMP421",