Update link to the Value.interface.yaml Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I95b1db1f07612a3e5604bbf043cc00f731bd3a8c
diff --git a/include/SensorPaths.hpp b/include/SensorPaths.hpp index fa1c3e5..e2475fa 100644 --- a/include/SensorPaths.hpp +++ b/include/SensorPaths.hpp
@@ -9,7 +9,7 @@ // This is an allowlist of the units a sensor can measure. Should be in sync // with -// phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Sensor/Value.interface.yaml#L35 +// phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml#L38 constexpr const char* unitDegreesC = "xyz.openbmc_project.Sensor.Value.Unit.DegreesC";
diff --git a/src/SensorPaths.cpp b/src/SensorPaths.cpp index 2e73012..7eb8d09 100644 --- a/src/SensorPaths.cpp +++ b/src/SensorPaths.cpp
@@ -9,7 +9,7 @@ // This is an allowlist of the units a sensor can measure. Should be in sync // with -// phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Sensor/Value.interface.yaml#L35 +// phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml#L38 std::string getPathForUnits(const std::string& units) {