commit | 35f96bcb178a7ac43f23afbc973eeea2d80b397a | [log] [tgz] |
---|---|---|
author | John Wang <wangzhiqiang02@ieisystem.com> | Fri Jul 11 09:47:15 2025 +0800 |
committer | John Wang <wangzhiqiang02@ieisystem.com> | Fri Jul 11 10:05:12 2025 +0800 |
tree | ee6caa1cb09240d1de0c12002d49f9e7083d6092 | |
parent | 9b94e6a0eb83469a97da4dbf883953b9a80f6437 [diff] |
Remove clang-format directive to fix CI failure Remove clang-format directive to fix CI failure otherwise, it reports: ``` ... @@ -114,13 +114,13 @@ void updateSensorInterfaces(InterfaceMap& ifaces, SensorValueType value) { // clang-format off case InterfaceType::VALUE: - { - auto& valueIface = - std::any_cast<std::shared_ptr<ValueObject>&>(iface.second); - valueIface->value(value); - } - break; - // clang-format on + { + auto& valueIface = + std::any_cast<std::shared_ptr<ValueObject>&>(iface.second); + valueIface->value(value); + } + break; + // clang-format on case InterfaceType::WARN: checkThresholds<WarningObject>(iface.second, value); break; Format: FAILED ``` Change-Id: I0190d21e791c6b6ff64ea3364545393f4b4fe2b4 Signed-off-by: John Wang <wangzhiqiang02@ieisystem.com>
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps:
To clean the repository run rm -rf build
.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance.
This requires an algorithm for selecting a stable, well-known D-Bus busname.
The algorithm is <PREFIX>-<ID>.Hwmon<N>
where PREFIX is a meson configurable prefix (BUSNAME_PREFIX=xyz.openbmc_project
by default), ID is either a std::hash
of the /sys/devices
path backing the hwmon class instance or provided suffix value from the command line, and N is the implemented phosphor-hwmon D-Bus API version.