From 77d960cce3a10296fcdad2324f17eff4a2f0835f Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Thu, 30 Jun 2022 21:07:54 +0200 Subject: [PATCH] Disable clang-format for stage2_bootloaders (#17516) --- platforms/chibios/vendors/RP/stage2_bootloaders.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platforms/chibios/vendors/RP/stage2_bootloaders.c b/platforms/chibios/vendors/RP/stage2_bootloaders.c index f22112fca9..af679a0dc7 100644 --- a/platforms/chibios/vendors/RP/stage2_bootloaders.c +++ b/platforms/chibios/vendors/RP/stage2_bootloaders.c @@ -7,7 +7,9 @@ #include -#define BOOTLOADER_SECTION __attribute__ ((used, section (".boot2"))) +#define BOOTLOADER_SECTION __attribute__((used, section(".boot2"))) + +// clang-format off #if defined(RP2040_FLASH_AT25SF128A) @@ -172,3 +174,5 @@ uint8_t BOOTLOADER_SECTION BOOT2_W25Q080[256] = { }; #endif + +// clang-format on