X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Fbootloader.c;h=cda295b1811e92f90baea342084b37a07139bcc1;hb=382eaebd3db595d8c4943f293d765e6b66a7e695;hp=f9802d36c52a0bc70e8da18a5712d3fb984b8fe7;hpb=51050875b7f1dd5216ba46298f95cf3030a36211;p=max%2Ftmk_keyboard.git diff --git a/common/bootloader.c b/common/bootloader.c index f9802d36..cda295b1 100644 --- a/common/bootloader.c +++ b/common/bootloader.c @@ -19,7 +19,8 @@ * USBaspLoader 2048 */ #ifndef BOOTLOADER_SIZE -#warn To use bootloader_jump() you need to define BOOTLOADER_SIZE in config.h. +#warning To use bootloader_jump() you need to define BOOTLOADER_SIZE in config.h. +#define BOOTLOADER_SIZE 4096 #endif #define FLASH_SIZE (FLASHEND + 1L) @@ -70,7 +71,8 @@ void bootloader_jump_after_watchdog_reset(void) MCUSR &= ~(1<