[misc] Update .clang-format style

This commit is contained in:
Kuba Szczodrzyński
2025-05-28 15:50:18 +02:00
parent 3054db9d9b
commit 6bf549b104
12 changed files with 262 additions and 262 deletions

View File

@@ -20,9 +20,9 @@ extern const struct fal_flash_dev flash0;
#define FAL_FLASH_DEV_NAME "flash0"
#define FAL_FLASH_DEV_TABLE \
{ \
&flash0, \
#define FAL_FLASH_DEV_TABLE \
{ \
&flash0, \
}
#define FAL_DEV_NAME_MAX 16 // no need for 24 chars (default)
@@ -30,13 +30,13 @@ extern const struct fal_flash_dev flash0;
// Partition table
#define FAL_PART_HAS_TABLE_CFG
#define FAL_PART_TABLE_ITEM(part_lower, part_upper) \
{ \
.magic_word = FAL_PART_MAGIC_WORD, /* magic word */ \
.name = #part_lower, /* lowercase name as string */ \
.flash_name = FAL_FLASH_DEV_NAME, /* flash device name */ \
.offset = FLASH_##part_upper##_OFFSET, /* partition offset macro as uppercase string */ \
.len = FLASH_##part_upper##_LENGTH, /* partition length macro as uppercase string */ \
#define FAL_PART_TABLE_ITEM(part_lower, part_upper) \
{ \
.magic_word = FAL_PART_MAGIC_WORD, /* magic word */ \
.name = #part_lower, /* lowercase name as string */ \
.flash_name = FAL_FLASH_DEV_NAME, /* flash device name */ \
.offset = FLASH_##part_upper##_OFFSET, /* partition offset macro as uppercase string */ \
.len = FLASH_##part_upper##_LENGTH, /* partition length macro as uppercase string */ \
},
// for fal_partition_t