Skip to content

Commit

Permalink
Set avr's bootloader_jump function to be weak (#11418)
Browse files Browse the repository at this point in the history
Co-authored-by: Dasky <dasky@nowhere>
  • Loading branch information
daskygit and Dasky authored Jan 5, 2021
1 parent d0aa9ff commit e7db582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/common/avr/bootloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e7db582

Please sign in to comment.