clang-format: copy latest and re-format
clang-format-17 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: I5278656122f19da46fcd0a84bc96af420d4cb8bd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/command/session_cmds.hpp b/command/session_cmds.hpp
index 05c312e..b3d0ca6 100644
--- a/command/session_cmds.hpp
+++ b/command/session_cmds.hpp
@@ -22,13 +22,13 @@
struct SetSessionPrivLevelReq
{
#if BYTE_ORDER == LITTLE_ENDIAN
- uint8_t reqPrivLevel : 4;
- uint8_t reserved : 4;
+ uint8_t reqPrivLevel:4;
+ uint8_t reserved:4;
#endif
#if BYTE_ORDER == BIG_ENDIAN
- uint8_t reserved : 4;
- uint8_t reqPrivLevel : 4;
+ uint8_t reserved:4;
+ uint8_t reqPrivLevel:4;
#endif
} __attribute__((packed));
@@ -43,13 +43,13 @@
uint8_t completionCode;
#if BYTE_ORDER == LITTLE_ENDIAN
- uint8_t newPrivLevel : 4;
- uint8_t reserved : 4;
+ uint8_t newPrivLevel:4;
+ uint8_t reserved:4;
#endif
#if BYTE_ORDER == BIG_ENDIAN
- uint8_t reserved : 4;
- uint8_t newPrivLevel : 4;
+ uint8_t reserved:4;
+ uint8_t newPrivLevel:4;
#endif
} __attribute__((packed));