clang-format-19 formatting fixes

This commit is contained in:
zvecr
2025-12-12 21:00:35 +00:00
parent 192cf4cef6
commit 0150b7b71f
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
bool xap_execute_get_config_blob_chunk(xap_token_t token, uint16_t offset) {
xap_route_qmk_config_blob_chunk_t ret = {0};
bool get_config_blob_chunk(uint16_t offset, uint8_t * data, uint8_t data_len);
bool get_config_blob_chunk(uint16_t offset, uint8_t *data, uint8_t data_len);
if (!get_config_blob_chunk(offset, (uint8_t *)&ret, sizeof(ret))) {
return false;
}
+2 -2
View File
@@ -78,7 +78,7 @@ typedef struct __attribute__((packed)) xap_route_flags_t {
_Static_assert(TOTAL_XAP_ROUTE_TYPES <= (1 << (XAP_ROUTE_TYPE_BIT_COUNT)), "Number of XAP route types is too large for XAP_ROUTE_TYPE_BITS.");
_Static_assert(sizeof(xap_route_flags_t) == 1, "xap_route_flags_t is not length of 1");
typedef struct xap_route_t xap_route_t;
typedef struct xap_route_t xap_route_t;
struct __attribute__((packed)) xap_route_t {
const xap_route_flags_t flags;
union {
@@ -93,7 +93,7 @@ struct __attribute__((packed)) xap_route_t {
// XAP_VALUE / XAP_CONST_MEM
struct {
const void * const_data;
const void *const_data;
const uint8_t const_data_len;
};
};