From 0b4d86a21c2ea9b53aabfb803e9f7a821faf3fa2 Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Thu, 30 Jun 2022 20:58:20 +0200 Subject: [PATCH] Disable clang-format for stage2_bootloaders --- 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 f22112fca9e7..af679a0dc73a 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