diff options
author | Drashna Jael're <drashna@live.com> | 2021-12-17 20:42:50 -0800 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-12-17 20:42:50 -0800 |
commit | eff2efbe2712cb3a3a26a514cda52c2a90ed3d39 (patch) | |
tree | 6ec51a0dc277f287e9f88ff5b41e5cfbf73dc38f /platforms | |
parent | fe8a53b09720b33ada9363f4a5abad82022ca967 (diff) | |
parent | d8a98aeaf2fb92a5d92a97ed41af5c93cd8480b1 (diff) |
Merge remote-tracking branch 'qmk/master' into firmware21
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/chibios/bootloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/bootloader.c b/platforms/chibios/bootloader.c index 5cadadeeeb..58212948b0 100644 --- a/platforms/chibios/bootloader.c +++ b/platforms/chibios/bootloader.c @@ -123,7 +123,7 @@ void enter_bootloader_mode_if_requested(void) { /* Jumping to bootloader is not # if defined(BOOTLOADER_KIIBOHD) /* Kiibohd Bootloader (MCHCK and Infinity KB) */ # define SCB_AIRCR_VECTKEY_WRITEMAGIC 0x05FA0000 -const uint8_t sys_reset_to_loader_magic[] = "\xff\x00\x7fRESET TO LOADER\x7f\x00\xff"; +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) { void *volatile vbat = (void *)VBAT; __builtin_memcpy(vbat, (const void *)sys_reset_to_loader_magic, sizeof(sys_reset_to_loader_magic)); |