hwmontemp: Add MAX6581 to sensor types

Add MAX6581 to the array of recognized sensors.

Tested: Tested on a target platform.
Verified that sensor readings were published to dbus.

Service xyz.openbmc_project.HwmonTempSensor:
└─/xyz
  └─/xyz/openbmc_project
    └─/xyz/openbmc_project/sensors
      └─/xyz/openbmc_project/sensors/temperature
        ├─/xyz/openbmc_project/sensors/temperature/max6581_0
        ├─/xyz/openbmc_project/sensors/temperature/max6581_1
        ├─/xyz/openbmc_project/sensors/temperature/max6581_2
        ├─/xyz/openbmc_project/sensors/temperature/max6581_3
        └─/xyz/openbmc_project/sensors/temperature/max6581_4

Signed-off-by: Jason Ling <jasonling@google.com>
Change-Id: I30a105272b1c943066fc51e74f2c95afb7c1bf95
diff --git a/src/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index 94f23c0..e478bcc 100644
--- a/src/HwmonTempMain.cpp
+++ b/src/HwmonTempMain.cpp
@@ -40,10 +40,11 @@
 static constexpr bool DEBUG = false;
 
 namespace fs = std::filesystem;
-static constexpr std::array<const char*, 9> sensorTypes = {
+static constexpr std::array<const char*, 10> sensorTypes = {
     "xyz.openbmc_project.Configuration.EMC1413",
     "xyz.openbmc_project.Configuration.MAX31725",
     "xyz.openbmc_project.Configuration.MAX31730",
+    "xyz.openbmc_project.Configuration.MAX6581",
     "xyz.openbmc_project.Configuration.MAX6654",
     "xyz.openbmc_project.Configuration.TMP112",
     "xyz.openbmc_project.Configuration.TMP175",