PSUSensor: Add more labels
The XDPE11280 exposes two PMBUS VIN channels as it has two
independent outputs. Add those labels to be able to read the
input voltage on that chip.
Added labels:
- vin1
- vin2
Change-Id: Ie94583b8d2f746647e12376b5f51a3e8c399d058
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 5510286..bdedff8 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -954,6 +954,8 @@
{"power4", PSUProperty("Output Power", 3000, 0, 6, 0)},
{"maxpin", PSUProperty("Max Input Power", 3000, 0, 6, 0)},
{"vin", PSUProperty("Input Voltage", 300, 0, 3, 0)},
+ {"vin1", PSUProperty("Input Voltage", 300, 0, 3, 0)},
+ {"vin2", PSUProperty("Input Voltage", 300, 0, 3, 0)},
{"maxvin", PSUProperty("Max Input Voltage", 300, 0, 3, 0)},
{"vout1", PSUProperty("Output Voltage", 255, 0, 3, 0)},
{"vout2", PSUProperty("Output Voltage", 255, 0, 3, 0)},