PSUSensor: Add INA230 sensor
Added ina230 support.
Tested: Verified result for ina230 device.
Change-Id: Ibc86765c8dd997b91788e2df8aa73d12e1dd8ca1
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 4d0b882..9cf863e 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -30,7 +30,8 @@
static constexpr std::array<const char*, 1> sensorTypes = {
"xyz.openbmc_project.Configuration.pmbus"};
-static std::vector<std::string> pmbusNames = {"pmbus", "pxe1610", "ina219"};
+static std::vector<std::string> pmbusNames = {"pmbus", "pxe1610", "ina219",
+ "ina230"};
namespace fs = std::filesystem;
static boost::container::flat_map<std::string, std::unique_ptr<PSUSensor>>