summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-11 05:32:46 +0100
committertmk <nobody@nowhere>2013-03-11 05:32:46 +0100
commitfe2230cf60efdc5dafb85356e54b8b87cd52c3a3 (patch)
tree1045982a5858aa3aa917a75aa860fe4d18f15af0 /common
parente4fbaf30be00d73a3fab2aee24c7a522a0ecdd31 (diff)
downloadqmk_firmware-fe2230cf60efdc5dafb85356e54b8b87cd52c3a3.tar.gz
qmk_firmware-fe2230cf60efdc5dafb85356e54b8b87cd52c3a3.tar.xz
Add default value to BOOTLOADER_SIZE
Diffstat (limited to 'common')
-rw-r--r--common/bootloader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/bootloader.c b/common/bootloader.c
index f9802d36c..43a7e47ce 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)