Add MAX6654 device to hwmontempsensor whitelist
Tested: The hwmontempsensor program now picks up readings from
this device, after it is instantiated within hwmon by
entity-manager, same as the other devices already in the whitelist.
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: I1923161beab0bc2fee361d7b2c5916bbf9d3b9d7
diff --git a/src/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index a7316e9..ab3544d 100644
--- a/src/HwmonTempMain.cpp
+++ b/src/HwmonTempMain.cpp
@@ -39,10 +39,11 @@
static constexpr bool DEBUG = false;
namespace fs = std::filesystem;
-static constexpr std::array<const char*, 8> sensorTypes = {
+static constexpr std::array<const char*, 9> sensorTypes = {
"xyz.openbmc_project.Configuration.EMC1413",
"xyz.openbmc_project.Configuration.MAX31725",
"xyz.openbmc_project.Configuration.MAX31730",
+ "xyz.openbmc_project.Configuration.MAX6654",
"xyz.openbmc_project.Configuration.TMP112",
"xyz.openbmc_project.Configuration.TMP175",
"xyz.openbmc_project.Configuration.TMP421",