mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-01 14:29:08 +02:00
clang-format-19 formatting fixes
This commit is contained in:
@@ -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
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user