Format code according to conventions (#16322)

This commit is contained in:
QMK Bot authored and GitHub committed 2022-02-12 18:29:31 +00:00
1 parent afcdd7079c
commit 63646e8906
345 files changed
+4916 -3229

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ void enter_bootloader_mode_if_requested(void) {}
# 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
*MAGIC_ADDR = BOOTLOADER_MAGIC; // set magic flag => reset handler will jump into boot loader
NVIC_SystemReset();
}
+3 -1
View File
@@ -18,4 +18,6 @@
#include <ch.h>
__attribute__((weak)) void bootloader_jump(void) { NVIC_SystemReset(); }
__attribute__((weak)) void bootloader_jump(void) {
NVIC_SystemReset();
}