From 0ca415004a453b2a841880d3a66492c664505737 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 18 Sep 2013 16:03:03 +0900 Subject: [PATCH] Fix bootloader jump use word address - Call of function pointer is compiled into 'icall' instruction. It should use word address but it has used byte address :( It seems jump has worked luckily by chance until now. why it worked? --- common/bootloader.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/bootloader.c b/common/bootloader.c index 43a7e47c..cda295b1 100644 --- a/common/bootloader.c +++ b/common/bootloader.c @@ -71,7 +71,8 @@ void bootloader_jump_after_watchdog_reset(void) MCUSR &= ~(1<