summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-06-30 21:07:54 +0200
committerGitHub <noreply@github.com>2022-06-30 20:07:54 +0100
commit77d960cce3a10296fcdad2324f17eff4a2f0835f (patch)
treedd67251597801d2e31bb87e022b17a3c5e40a64b
parentd7173967087e022d20d1f9c812b1b668e9d3f71b (diff)
Disable clang-format for stage2_bootloaders (#17516)
-rw-r--r--platforms/chibios/vendors/RP/stage2_bootloaders.c6
1 files changed, 5 insertions, 1 deletions
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 <stdint.h>
-#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