summaryrefslogtreecommitdiff
path: root/platforms/chibios/bootloaders/kiibohd.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/kiibohd.c
parent1127e0da6b9b88b52a5d4ca33489f5ea5343b00f (diff)
downloadqmk_firmware-be2265d0d173ac347f0ee9ed809c2a689bf835a2.tar.gz
qmk_firmware-be2265d0d173ac347f0ee9ed809c2a689bf835a2.zip
Format code according to conventions (#15593)
Diffstat (limited to 'platforms/chibios/bootloaders/kiibohd.c')
-rw-r--r--platforms/chibios/bootloaders/kiibohd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/platforms/chibios/bootloaders/kiibohd.c b/platforms/chibios/bootloaders/kiibohd.c
index f4bb18f058..911e807092 100644
--- a/platforms/chibios/bootloaders/kiibohd.c
+++ b/platforms/chibios/bootloaders/kiibohd.c
@@ -23,8 +23,7 @@
const uint8_t sys_reset_to_loader_magic[] = "\xff\x00\x7fRESET TO LOADER\x7f\x00\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
-__attribute__((weak))
-void bootloader_jump(void) {
+__attribute__((weak)) void bootloader_jump(void) {
void *volatile vbat = (void *)VBAT;
__builtin_memcpy(vbat, (const void *)sys_reset_to_loader_magic, sizeof(sys_reset_to_loader_magic));