summaryrefslogtreecommitdiff
path: root/tmk_core/common/avr
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2021-01-05 05:53:37 +0000
committerGitHub <noreply@github.com>2021-01-04 21:53:37 -0800
commite7db582e356a961ba608ef441f201d879ec8d740 (patch)
tree203f267de276509bf05bcddfa80f9591b625afef /tmk_core/common/avr
parentd0aa9ff972e7e438d1a5fa2baa4b35db91c8a070 (diff)
downloadqmk_firmware-e7db582e356a961ba608ef441f201d879ec8d740.tar.gz
qmk_firmware-e7db582e356a961ba608ef441f201d879ec8d740.zip
Set avr's bootloader_jump function to be weak (#11418)
Co-authored-by: Dasky <dasky@nowhere>
Diffstat (limited to 'tmk_core/common/avr')
-rw-r--r--tmk_core/common/avr/bootloader.c2
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);