diff options
author | QMK Bot <hello@qmk.fm> | 2022-04-19 04:28:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 21:28:14 +1000 |
commit | c3a03b642367d2fa82b9237a35434f1e880dc702 (patch) | |
tree | 239f626a487b3e425d7728db7fd7014a36e2f97e | |
parent | 25f849b397b409e7f8331abe5edacfde80ec0845 (diff) |
[CI] Format code according to conventions (#16888)
-rw-r--r-- | platforms/chibios/bootloaders/wb32_dfu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platforms/chibios/bootloaders/wb32_dfu.c b/platforms/chibios/bootloaders/wb32_dfu.c index 70b18f0228..bbc382a2d0 100644 --- a/platforms/chibios/bootloaders/wb32_dfu.c +++ b/platforms/chibios/bootloaders/wb32_dfu.c @@ -23,9 +23,9 @@ extern uint32_t __ram0_end__; /* This code should be checked whether it runs correctly on platforms */ -# define SYMVAL(sym) (uint32_t)(((uint8_t *)&(sym)) - ((uint8_t *)0)) -# define BOOTLOADER_MAGIC 0xDEADBEEF -# define MAGIC_ADDR (unsigned long *)(SYMVAL(__ram0_end__) - 4) +#define SYMVAL(sym) (uint32_t)(((uint8_t *)&(sym)) - ((uint8_t *)0)) +#define BOOTLOADER_MAGIC 0xDEADBEEF +#define MAGIC_ADDR (unsigned long *)(SYMVAL(__ram0_end__) - 4) __attribute__((weak)) void bootloader_jump(void) { *MAGIC_ADDR = BOOTLOADER_MAGIC; // set magic flag => reset handler will jump into boot loader |