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: I39f8c77091744c8516e043054b4ed7207d85aa08
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/occ_command.cpp b/occ_command.cpp
index 1620156..6d0851e 100644
--- a/occ_command.cpp
+++ b/occ_command.cpp
@@ -210,8 +210,8 @@
// Validate checksum (last 2 bytes of response)
const unsigned int csumIndex = response.size() - 2;
- const uint32_t rspChecksum =
- (response[csumIndex] << 8) + response[csumIndex + 1];
+ const uint32_t rspChecksum = (response[csumIndex] << 8) +
+ response[csumIndex + 1];
uint32_t calcChecksum = 0;
for (unsigned int index = 0; index < csumIndex; ++index)
{