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>
diff --git a/multi-presence/main.cpp b/multi-presence/main.cpp
index 858ac7c..b7fba2e 100644
--- a/multi-presence/main.cpp
+++ b/multi-presence/main.cpp
@@ -87,10 +87,8 @@
gpiod_line* line = nullptr;
/* GPIO line configuration, default to monitor both edge */
- struct gpiod_line_request_config config
- {
- "gpio_monitor", GPIOD_LINE_REQUEST_EVENT_BOTH_EDGES, 0
- };
+ struct gpiod_line_request_config config{
+ "gpio_monitor", GPIOD_LINE_REQUEST_EVENT_BOTH_EDGES, 0};
/* Pretty name of the inventory object */
std::string name;