PSUSensorMain: expanding the list, which changes frequently
This list is frequently updated, so it is convenient when it is expanded
Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
Change-Id: Ib0ae40b6f0c6d5df660baaa7ae4e9ea0f5465101
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 4007103..6dab889 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -40,18 +40,54 @@
static constexpr bool debug = false;
-static constexpr auto sensorTypes{std::to_array<const char*>(
- {"ADM1266", "ADM1272", "ADM1275", "ADM1278", "ADM1293",
- "ADS7830", "AHE50DC_FAN", "BMR490", "DPS800", "INA219",
- "INA230", "IPSPS", "IR38060", "IR38164", "IR38263",
- "ISL68137", "ISL68220", "ISL68223", "ISL69225", "ISL69243",
- "ISL69260", "LM25066", "MAX16601", "MAX20710", "MAX20730",
- "MAX20734", "MAX20796", "MAX34451", "MP2971", "MP2973",
- "MP2975", "MP5023", "PLI1209BC", "pmbus", "PXE1610",
- "RAA228000", "RAA228228", "RAA228620", "RAA229001", "RAA229004",
- "RAA229126", "TPS53679", "TPS546D24", "XDPE11280", "XDPE12284"})};
-
// clang-format off
+static constexpr auto sensorTypes{std::to_array<const char*>({
+ "ADM1266",
+ "ADM1272",
+ "ADM1275",
+ "ADM1278",
+ "ADM1293",
+ "ADS7830",
+ "AHE50DC_FAN",
+ "BMR490",
+ "DPS800",
+ "INA219",
+ "INA230",
+ "IPSPS",
+ "IR38060",
+ "IR38164",
+ "IR38263",
+ "ISL68137",
+ "ISL68220",
+ "ISL68223",
+ "ISL69225",
+ "ISL69243",
+ "ISL69260",
+ "LM25066",
+ "MAX16601",
+ "MAX20710",
+ "MAX20730",
+ "MAX20734",
+ "MAX20796",
+ "MAX34451",
+ "MP2971",
+ "MP2973",
+ "MP2975",
+ "MP5023",
+ "PLI1209BC",
+ "pmbus",
+ "PXE1610",
+ "RAA228000",
+ "RAA228228",
+ "RAA228620",
+ "RAA229001",
+ "RAA229004",
+ "RAA229126",
+ "TPS53679",
+ "TPS546D24",
+ "XDPE11280",
+ "XDPE12284"})};
+
static constexpr auto pmbusNames{std::to_array<const char*>({
"adm1266",
"adm1272",