summaryrefslogtreecommitdiff
path: root/platforms/chibios/bootloaders/tinyuf2.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-12-27 02:20:52 -0800
committerGitHub <noreply@github.com>2021-12-27 21:20:52 +1100
commitbe2265d0d173ac347f0ee9ed809c2a689bf835a2 (patch)
tree97c03e4d12b12e4d2e902efe8a7ab98174dfee5c /platforms/chibios/bootloaders/tinyuf2.c
parent1127e0da6b9b88b52a5d4ca33489f5ea5343b00f (diff)
Format code according to conventions (#15593)
Diffstat (limited to 'platforms/chibios/bootloaders/tinyuf2.c')
-rw-r--r--platforms/chibios/bootloaders/tinyuf2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/platforms/chibios/bootloaders/tinyuf2.c b/platforms/chibios/bootloaders/tinyuf2.c
index ce82fa0c49..9ffca5dec8 100644
--- a/platforms/chibios/bootloaders/tinyuf2.c
+++ b/platforms/chibios/bootloaders/tinyuf2.c
@@ -25,11 +25,10 @@
extern uint32_t _board_dfu_dbl_tap[];
#define DBL_TAP_REG _board_dfu_dbl_tap[0]
-__attribute__((weak))
-void bootloader_jump(void) {
+__attribute__((weak)) void bootloader_jump(void) {
DBL_TAP_REG = DBL_TAP_MAGIC;
NVIC_SystemReset();
}
/* not needed, no two-stage reset */
-void enter_bootloader_mode_if_requested(void) { }
+void enter_bootloader_mode_if_requested(void) {}