hwmontemp: Add LM75A device to sensor types
Add LM75A digital temperature sensor to the array
of recognized devices.
Tested:
Tested on AMD EthanolX CRB
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: If04547e1da62f6eeac4f7530247d7ef1647d499e
diff --git a/src/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index 79eab20..df29fe3 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*, 13> sensorTypes = {
+static constexpr std::array<const char*, 14> sensorTypes = {
"xyz.openbmc_project.Configuration.EMC1412",
"xyz.openbmc_project.Configuration.EMC1413",
"xyz.openbmc_project.Configuration.EMC1414",
@@ -53,6 +53,7 @@
"xyz.openbmc_project.Configuration.TMP175",
"xyz.openbmc_project.Configuration.TMP421",
"xyz.openbmc_project.Configuration.TMP441",
+ "xyz.openbmc_project.Configuration.LM75A",
"xyz.openbmc_project.Configuration.TMP75"};
void createSensors(