History log of /openbmc/phosphor-gpio-monitor/multi-presence/main.cpp (Results 1 – 4 of 4)
Revision Date Author Comments
# 1c88803f 18-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have b

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have been deprecated, so adjust the style file
accordingly.

See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style.
See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.

Change-Id: I143ed8acc77de34cab0d51ae908999ed0aec4ee6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# cf33c593 18-Dec-2024 Jayanth Othayoth <ojayanth@gmail.com>

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

Change-Id: Iade4e4f1f25092f880fe06d61703db505b6e03d1
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>

show more ...


# 38cd74c8 07-Nov-2024 Yang Chen <yang.chen@quantatw.com>

Continue on missing GPIOs in the monitor/presence

In some cases, if a GPIO is not found, the function returns -1 to exit
the process. To improve this, change the return value from -1 to
continue so

Continue on missing GPIOs in the monitor/presence

In some cases, if a GPIO is not found, the function returns -1 to exit
the process. To improve this, change the return value from -1 to
continue so each object can be handled separately. This ensures
the JSON file fully parses even if some GPIOs are missing.

Change-Id: I83763d56963e3d2ec9981a95a1a0da17d0882910
Signed-off-by: Yang Chen <yang.chen@quantatw.com>

show more ...


# 46a9a5b9 10-Aug-2023 Patrick Rudolph <patrick.rudolph@9elements.com>

Add phosphor-multi-gpio-presence

The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.

The driver loading feature hasn't been ported to

Add phosphor-multi-gpio-presence

The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.

The driver loading feature hasn't been ported to the new service.

Change-Id: I412345f804208e48eec40ec020b3a0d8f668a34b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>

show more ...