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) | |
download | qmk_firmware-e7db582e356a961ba608ef441f201d879ec8d740.tar.gz qmk_firmware-e7db582e356a961ba608ef441f201d879ec8d740.zip |
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 a1db55da9..c0272903b 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;"))); | |||
77 | * | 77 | * |
78 | * FIXME: needs doc | 78 | * FIXME: needs doc |
79 | */ | 79 | */ |
80 | void bootloader_jump(void) { | 80 | __attribute__((weak)) void bootloader_jump(void) { |
81 | #if !defined(BOOTLOADER_SIZE) | 81 | #if !defined(BOOTLOADER_SIZE) |
82 | uint8_t high_fuse = boot_lock_fuse_bits_get(GET_HIGH_FUSE_BITS); | 82 | uint8_t high_fuse = boot_lock_fuse_bits_get(GET_HIGH_FUSE_BITS); |
83 | 83 | ||