diff options
author | Dasky <32983009+daskygit@users.noreply.github.com> | 2021-01-05 05:53:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 21:53:37 -0800 |
commit | e7db582e356a961ba608ef441f201d879ec8d740 (patch) | |
tree | 203f267de276509bf05bcddfa80f9591b625afef | |
parent | d0aa9ff972e7e438d1a5fa2baa4b35db91c8a070 (diff) |
Set avr's bootloader_jump function to be weak (#11418)
Co-authored-by: Dasky <dasky@nowhere>
-rw-r--r-- | tmk_core/common/avr/bootloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/avr/bootloader.c b/tmk_core/common/avr/bootloader.c index a1db55da93..c0272903b8 100644 --- a/tmk_core/common/avr/bootloader.c +++ b/tmk_core/common/avr/bootloader.c @@ -77,7 +77,7 @@ uint32_t reset_key __attribute__((section(".noinit,\"aw\",@nobits;"))); * * FIXME: needs doc */ -void bootloader_jump(void) { +__attribute__((weak)) void bootloader_jump(void) { #if !defined(BOOTLOADER_SIZE) uint8_t high_fuse = boot_lock_fuse_bits_get(GET_HIGH_FUSE_BITS); |