clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I27b0d1357211259edb6ec2776924729052f238d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/attn/attn_monitor.cpp b/attn/attn_monitor.cpp
index a3ecfac..6d4a90d 100644
--- a/attn/attn_monitor.cpp
+++ b/attn/attn_monitor.cpp
@@ -13,16 +13,16 @@
iv_gpioEventDescriptor.async_wait(
boost::asio::posix::stream_descriptor::wait_read,
[this](const boost::system::error_code& ec) {
- if (ec)
- {
- trace::err("GPIO Async wait error: %s", ec.message().c_str());
- }
- else
- {
- trace::inf("Attention GPIO active");
- handleGPIOEvent(); // gpio trigger detected
- }
- return;
+ if (ec)
+ {
+ trace::err("GPIO Async wait error: %s", ec.message().c_str());
+ }
+ else
+ {
+ trace::inf("Attention GPIO active");
+ handleGPIOEvent(); // gpio trigger detected
+ }
+ return;
}); // register async callback
}